(self.webpackChunkleap_2_0=self.webpackChunkleap_2_0||[]).push([[590],{660:function(e,t,n){"use strict";var r=n(5648),o=n.n(r),i=n(2312),a=n.n(i)()(o());a.push([e.id,"@font-face {\n font-family: TeleGroteskNext-Medium;\n font-display: swap;\n src: url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Medium.woff2')\n format('woff2'),\n url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Medium.woff')\n format('woff');\n}\n\n@font-face {\n font-family: TeleGroteskNext-Bold;\n font-display: swap;\n src: url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Bold.woff2')\n format('woff2'),\n url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Bold.woff') format('woff');\n}\n\n@font-face {\n font-family: Tele-Grotesk-Ultra;\n font-display: swap;\n src: url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Ultra.woff2')\n format('woff2'),\n url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Ultra.woff')\n format('woff');\n}\n\n#data-device-type-indicator > #_15gifts-launchpad {\n margin-left: 2%;\n order: 6;\n padding-left: 0;\n padding-right: 0;\n width: 95%;\n}\n\n._15gifts-cl .h5 {\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n margin-top: 0;\n margin-bottom: 25px;\n letter-spacing: -0.22px;\n}\n","",{version:3,sources:["webpack://./config/partners/tmobile/partnerStyle.css"],names:[],mappings:"AAAA;EACE,mCAAmC;EACnC,kBAAkB;EAClB;;;oBAGkB;AACpB;;AAEA;EACE,iCAAiC;EACjC,kBAAkB;EAClB;;wHAEsH;AACxH;;AAEA;EACE,+BAA+B;EAC/B,kBAAkB;EAClB;;;oBAGkB;AACpB;;AAEA;EACE,eAAe;EACf,QAAQ;EACR,eAAe;EACf,gBAAgB;EAChB,UAAU;AACZ;;AAEA;EACE,eAAe;EACf,gBAAgB;EAChB,iBAAiB;EACjB,aAAa;EACb,mBAAmB;EACnB,uBAAuB;AACzB",sourcesContent:["@font-face {\n font-family: TeleGroteskNext-Medium;\n font-display: swap;\n src: url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Medium.woff2')\n format('woff2'),\n url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Medium.woff')\n format('woff');\n}\n\n@font-face {\n font-family: TeleGroteskNext-Bold;\n font-display: swap;\n src: url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Bold.woff2')\n format('woff2'),\n url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Bold.woff') format('woff');\n}\n\n@font-face {\n font-family: Tele-Grotesk-Ultra;\n font-display: swap;\n src: url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Ultra.woff2')\n format('woff2'),\n url('/etc/clientlibs/t-mobile/publish/app/clientlibs_app_ntm/assets/fonts/TeleGroteskNext-Ultra.woff')\n format('woff');\n}\n\n#data-device-type-indicator > #_15gifts-launchpad {\n margin-left: 2%;\n order: 6;\n padding-left: 0;\n padding-right: 0;\n width: 95%;\n}\n\n._15gifts-cl .h5 {\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n margin-top: 0;\n margin-bottom: 25px;\n letter-spacing: -0.22px;\n}\n"],sourceRoot:""}]),t.c=a},4492:function(e,t,n){var r=n(1504);function o(e){return r.createElement("svg",e,r.createElement("g",{transform:"translate(-287.000000, -16.000000)"},r.createElement("path",{d:"M303.190813,31.173004 C303.471019,31.455354 303.469736,31.9097473 303.188444,32.1890454 C303.051301,32.3267236 302.868711,32.4 302.67828,32.4 C302.489358,32.4 302.305903,32.3245258 302.168647,32.1877392 L295.499958,25.5180748 L288.838996,32.1780449 C288.702391,32.3223715 288.515188,32.3981627 288.32172,32.3981627 C288.131289,32.3981627 287.948699,32.3248862 287.815213,32.190832 C287.529921,31.9117045 287.528632,31.4538685 287.810271,31.1700792 L294.480788,24.4999144 L287.808673,17.826821 C287.529155,17.5441331 287.530434,17.0909958 287.814691,16.8077276 C288.097115,16.5303932 288.549907,16.5316625 288.831325,16.8121179 L295.500001,23.4804474 L302.165551,16.8152773 C302.445063,16.5294992 302.901974,16.5294992 303.185317,16.8077352 C303.469907,17.0872108 303.471192,17.5437819 303.18972,17.8284373 L296.519175,24.4981894 L303.190813,31.173004 Z",id:"Close"})))}o.defaultProps={focusable:"false",width:"17px",height:"17px",viewBox:"0 0 17 17",version:"1.1"},e.exports=o,o.default=o},968:function(e,t,n){"use strict";n.d(t,{G7:function(){return ke},SY:function(){return Tn.SY},k9:function(){return Ae},_C:function(){return c},ug:function(){return Le},qK:function(){return Tn.qK},kN:function(){return Tn.kN},kv:function(){return s},Ul:function(){return An},q:function(){return p},M1:function(){return b},ER:function(){return Tn.ER},yw:function(){return v},CA:function(){return O},Ex:function(){return Tn.Ex},oe:function(){return E},U7:function(){return He},kD:function(){return We},Uf:function(){return ot},Cw:function(){return pt},c1:function(){return C},E$:function(){return Tn.E$},kh:function(){return yt},EJ:function(){return vt},q2:function(){return St},Cu:function(){return _},ye:function(){return A},I3:function(){return Tn.I3},_m:function(){return R},GW:function(){return j},WC:function(){return B},QR:function(){return Ct},gP:function(){return Tn.gP},u6:function(){return H},EF:function(){return W},iM:function(){return V},gx:function(){return Tt},cH:function(){return q},_u:function(){return _t},_W:function(){return xt},W8:function(){return At},Cg:function(){return Pt},go:function(){return Tn.go},Q9:function(){return Tn.Q9},wJ:function(){return Tn.wJ},EX:function(){return Rt},QI:function(){return Lt},AT:function(){return Tn.AT},wn:function(){return Ut},Yj:function(){return Tn.Yj},ex:function(){return Tn.ex},gZ:function(){return $},m_:function(){return Tn.m_},a8:function(){return Gt},_B:function(){return Tn._B},YZ:function(){return Z},MB:function(){return Ft},ao:function(){return Kt},Dt:function(){return Tn.Dt},Iz:function(){return Tn.Iz},QB:function(){return Tn.gZ},U9:function(){return Tn.U9},lr:function(){return Tn.lr},Mj:function(){return te},OU:function(){return oe},ew:function(){return Xt},sx:function(){return Tn.sx},i_:function(){return Dn},uE:function(){return ae},gH:function(){return Tn.gH},gN:function(){return Qt},YG:function(){return i},c8:function(){return le},CK:function(){return $t},g$:function(){return Tn.yw},EZ:function(){return Tn.EZ},WU:function(){return Tn.WU},Wk:function(){return se},oJ:function(){return Zt},kZ:function(){return tn},a:function(){return pe},Aj:function(){return be},SE:function(){return Tn.SE},Wm:function(){return bn},uk:function(){return Cn},o5:function(){return Te},Sq:function(){return Tn.Sq}});var r=n(1504),o=n(7852),i=function(e){var t=e.children,n=e.variant,i=void 0===n?"primary":n;return r.createElement(o.kv,{"data-variant":"component.spin.".concat(i),variant:"component.spin.".concat(i)},r.createElement(o.kv,{"data-variant":"component.spin.spinning",variant:"component.spin.spinning"},t))};function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){var t=e.variant,n=void 0===t?"primary":t,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o._C,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.kv,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["testId","variant"]);return r.createElement(o.q,(n=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.M1,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["dataTestId"]);return r.createElement(o.yw,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.uO,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.c1,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.Cu,(n=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["testId","variant"]);return r.createElement(o.ye,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","isSafeHtml","level","testId"]);return c?r.createElement(o._m,(n=N({as:"h".concat(u),"data-variant":D[u],variant:D[u],"data-testid":d,ref:t},f),i=null!=(i={dangerouslySetInnerHTML:{__html:String(a)}})?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))})),n)):r.createElement(o._m,N({as:"h".concat(u),"data-variant":D[u],variant:D[u],"data-testid":d,ref:t},f),a)}));function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){var t=e.fill,n=void 0===t?"red":t,o=e.isHidden,i=void 0===o||o,a=e.outerHeight,c=void 0===a?"24":a,l=e.outerWidth,u=void 0===l?"24":l,s=e.shape,d=void 0===s?"circle":s,f=e.title,p=e.variant,g=void 0===p?"primary":p,m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["fill","isHidden","outerHeight","outerWidth","shape","title","variant"]);return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(u," ").concat(c),width:u,height:c,fill:"currentcolor","aria-hidden":i},f&&r.createElement("title",null,f),r.createElement(d,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["testId","variant"]);return r.createElement(o.WC,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","testId","variant"]);return r.createElement(o.a,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.EF,(n=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.iM,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["copy","target","testId","variant"]);return r.createElement(o.cH,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.gZ,(n=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["copy","variant"]);return r.createElement(_,{variant:"component.progressBar.".concat(i)},t&&r.createElement(pe,null,t),r.createElement(o.b$,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.IR,(n=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.uE,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.Wk,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["as","children","isSafeHtml","testId","variant"]);return l?r.createElement(o.a,fe({as:i,variant:"component.text.".concat(f),"data-testid":s,"data-variant":"component.text.".concat(f),dangerouslySetInnerHTML:{__html:a},ref:t},p)):r.createElement(o.a,fe({as:i,"data-testid":s,"data-variant":"component.text.".concat(f),variant:"component.text.".concat(f),ref:t},p),a)}));function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var me=r.forwardRef((function(e,t){var n,i,a=e.variant,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["variant"]);return r.createElement(o.Aj,(n=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["action","disabled","hasHoldTrigger","isMobile","testId","variant"]),b=Ie((0,r.useState)(!1),2),y=b[0],v=b[1],h=Ie((0,r.useState)(null),2),O=h[0],E=h[1],S=Ie((0,r.useState)(null),2),C=S[0],T=S[1];(0,r.useEffect)((function(){y||(document.removeEventListener("mouseup",A),clearTimeout(O),clearInterval(C),E(null),T(null))}),[y]),(0,r.useEffect)((function(){a&&A()}),[a]);var w,_,I=(0,r.useCallback)((function(e){e.preventDefault(),(!e.nativeEvent.which||2!==e.nativeEvent.which&&3!==e.nativeEvent.which)&&(s&&l&&"mousedown"===e.type||(l&&"keydown"!==e.type&&x(e),n(e)))}),[n,s]),x=function(e){document.addEventListener("mouseup",A),v(!0),E(setTimeout((function(){T(setInterval((function(){n(e)}),125))}),0))},A=function(){v(!1),document.removeEventListener("mouseup",A),clearTimeout(O),clearInterval(C),E(null),T(null)},P=function(e){return function(t){"Enter"!==t.code&&"Space"!==t.code||(t.preventDefault(),e(t))}},N={className:"_15gifts-button--".concat(g),onTouchStart:!a&&l?I:void 0,onTouchEnd:A,onTouchCancel:A,onTouchMove:A,onMouseDown:a?void 0:I,onMouseUp:A,onKeyDown:a?void 0:P(I),onKeyUp:P(A)};return r.createElement(o.q,(w=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["checked","id","imageUrl","onChange","text","type","variant"]);return r.createElement(_,{variant:i?"component.answerInput.".concat(p,"Selected"):"component.answerInput.".concat(p)},r.createElement("input",{id:a,type:d,checked:i,onChange:u,value:s,tabIndex:0}),r.createElement(V,{id:"".concat(s,"_label"),htmlFor:a,"data-testid":"_15gifts-answer",variant:d},c&&r.createElement(B,{src:c,alt:s,variant:p}),r.createElement(pe,null,s),"checkbox"===d&&r.createElement(v,(t=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e&&e0&&r.createElement(_,{role:"timer","aria-label":"".concat(E," days"),"aria-atomic":!0,"data-testid":"_15gifts-countdownDays",variant:"component.countdown.".concat(g,".counter")},r.createElement(s,null,E),a&&w),r.createElement(_,{role:"timer","aria-label":"".concat(S," hours"),"aria-atomic":!0,"data-testid":"_15gifts-countdownHours",variant:"component.countdown.".concat(g,".counter")},r.createElement(s,null,S.toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1})),a&&I),r.createElement(_,{role:"timer","aria-label":"".concat(C," minutes"),"aria-atomic":!0,"data-testid":"_15gifts-countdownMinutes",variant:"component.countdown.".concat(g,".counter")},r.createElement(s,null,C.toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1})),a&&x),r.createElement(_,{role:"timer","aria-label":"".concat(T," seconds"),"aria-atomic":!0,"data-testid":"_15gifts-countdownSeconds",variant:"component.countdown.".concat(g,".counter")},r.createElement(s,null,T.toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1})),a&&A)))):null};function Ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&x(!1),C>=m.length-1?D(!0):C0&&(null===n&&T(C-1),g&&g("decrease"))}),[C,n]),k=(0,r.useCallback)((function(){Ce.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var nt=function(e){return function(t){var n=t.children,o=t.data,i=tt(t,["children","data"]),a=o.hex;return r.createElement(Ke.c.Option,Ze({data:o},i),a&&r.createElement(j,{fill:a,r:12,cx:12,cy:12,shape:e}),r.createElement(pe,null,n))}},rt=function(e){return function(t){var n=t.children,o=t.data,i=tt(t,["children","data"]),a=o.hex;return r.createElement(Ke.c.SingleValue,Ze({data:o},i),a&&r.createElement(j,{fill:a,r:12,cx:12,cy:12,shape:e}),r.createElement(pe,null,n))}},ot=function(e){var t,n,o=e.colorIconshape,i=e.id,a=e.isCustomSelect,c=void 0===a||a,l=e.onChange,u=e.onToggle,s=void 0===u?function(){}:u,d=e.options,f=void 0===d?[]:d,p=e.selectRef,g=e.type,m=void 0===g?"":g,b=e.variant,y=void 0===b?"primary":b,v=tt(e,["colorIconshape","id","isCustomSelect","onChange","onToggle","options","selectRef","type","variant"]),h=Ye({componentName:"customSelect",variant:y}),O=(t=(0,r.useState)(f[0]),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return $e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$e(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=O[0],S=O[1];(0,r.useEffect)((function(){var e=f.find((function(e){return!0===e.active}));S(e||f[0])}),[f]);var C=(0,r.useCallback)((function(e){E&&e.value===E.value||(S(e),l&&l(e))}),[E,l]),T=(0,r.useCallback)((function(e){var t=f[e.target.selectedIndex];C(t)}),[f,C]),w=(0,r.useCallback)((function(){s(!0,E?E.label:"",m)}),[E,s,m]),_=(0,r.useCallback)((function(){s(!1,E?E.label:"",m)}),[E,s,m]),I={control:function(e,t){var n,r=t.menuIsOpen&&h.borderRadiusWhenMenuIsOpen?h.borderRadiusWhenMenuIsOpen:(null===(n=h.control)||void 0===n?void 0:n.borderRadius)||e.borderRadius;return et(Ze({},e,h.control),{borderRadius:r})},valueContainer:function(e){return Ze({},e,h.valueContainer)},indicatorSeparator:function(e){return Ze({},e,h.indicatorSeparator)},indicatorsContainer:function(e,t){var n=t.selectProps;return et(Ze({},e,h.indicatorsContainer),{transform:"rotate(".concat(n.menuIsOpen?180:0,"deg)")})},menu:function(e){return Ze({},e,h.menu)},menuList:function(e){return Ze({},e,h.menuList)},singleValue:function(e){return Ze({},e,h.singleValue)},option:function(e,t){var n=t.isFocused;return et(Ze({},e,h.option),{backgroundColor:n?h.focusColour:"transparent"})}};return c?r.createElement(ze.cp,Ze({options:f,components:{Option:nt(o),SingleValue:rt(o)},onChange:C,onMenuOpen:w,onMenuClose:_,inputId:i,value:E||f[0],styles:I,isSearchable:!1,"aria-label":E&&E.label||f[0]&&f[0].label,ref:p},v)):r.createElement(Qe,{styles:h,activeOption:E,onChange:T,handleOnToggle:w,id:i,options:f,selectRef:p})},it=n(4107),at=n(1260);function ct(e){var t=e.rcProps,n=t.ariaLabel,o=t.ariaLabelledBy,i=t.ariaValueTextFormatter,a=t.className,c=t.disabled,l=t.max,u=t.min,s=t.offset,d=t.prefixCls,f=t.ref,p=t.reverse,g=t.style,m=t.tabIndex,b=t.value,y=t.vertical;return r.createElement(it._2,{ariaLabel:n,ariaLabelledBy:o,ariaValueTextFormatter:i,className:a,disabled:c,dragging:"false",max:l,min:u,offset:s,prefixCls:d,ref:f,reverse:p,style:g,tabIndex:m,value:b,vertical:y,"data-testid":"_15gifts-slider-handle-testid"})}function lt(e){var t=e.getTooltip,n=e.handleShowTooltip,o=e.handleTooltipContainer,i=e.rcProps,a=e.showSliderTooltip,c=i.ariaLabel,l=i.ariaLabelledBy,u=i.ariaValueTextFormatter,s=i.className,d=i.disabled,f=i.max,p=i.min,g=i.offset,m=i.prefixCls,b=i.ref,y=i.reverse,v=i.style,h=i.tabIndex,O=i.value,E=i.vertical;return r.createElement(it.G0,{visible:a,placement:"top",overlayClassName:"rc-slider-tooltip",overlay:t(O),prefixCls:"rc-slider-tooltip",getTooltipContainer:o,align:{overflow:{adjustY:!1}}},r.createElement(it._2,{ariaLabel:c,ariaLabelledBy:l,ariaValueTextFormatter:u,className:s,disabled:d,max:f,min:p,offset:g,prefixCls:m,ref:b,reverse:y,style:v,tabIndex:h,value:O,vertical:E,onMouseEnter:n,"data-testid":"_15gifts-slider-handle-testid"}))}function ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ny/2?"right":"left";return r.createElement(s,null,r.createElement(s,{"data-testid":"_15gifts-tooltips",role:"tooltip"},!d&&(g?r.createElement(pe,{dangerouslySetInnerHTML:{__html:S}}):S),U&&U[e]||b[e]?U[e]||b[e].label:e,B,d&&" ",d&&(g?r.createElement(pe,{dangerouslySetInnerHTML:{__html:S}}):S)),!p&&se({smartBudgetPos:t,value:e}))}),[w,i]),fe=(0,r.useCallback)((function(){return ue()}),[]),ge=(0,r.useCallback)((function(){return $.current}),[]),me=function(){var e;return(x||k||n)&&o?"".concat(x||k||n,", ").concat(o[i]):"".concat(x||k||n,", ").concat(null===(e=b[i])||void 0===e?void 0:e.label)};return r.createElement(s,{sx:le,ref:$},I?r.createElement(r.Fragment,null,r.createElement(it.cp,{className:"_15gifts-rc-slider",onChange:J,defaultValue:V,value:i,min:v,handle:function(e){return r.createElement(lt,{rcProps:e,getTooltip:de,handleShowTooltip:fe,handleTooltipContainer:ge,showSliderTooltip:ae})},max:y,marks:b,ariaLabelForHandle:x||k||n,ariaValueTextFormatterForHandle:function(){return me()}}),p&&se({smartBudgetPos:"right",value:i})):r.createElement(it.cp,{className:"_15gifts-rc-slider",defaultValue:V,value:i,min:v,max:y,marks:b,handle:function(e){return r.createElement(ct,{rcProps:e})},onChange:J,ariaLabelForHandle:x||k||n,ariaValueTextFormatterForHandle:function(){return me()}}))},gt=n(3216),mt=n(8084),bt=n.n(mt),yt=function(e){var t=e.animateStyle,n=e.button,o=e.header,i=e.image,a=e.imageAsBg,c=void 0!==a&&a,l=e.text,u=e.variant,d=void 0===u?"primary":u,f=(0,r.useRef)([]),g=Ye({componentName:"fadeIn",variant:d}),m=bt()(g,c&&g.imageBackground?g.imageBackground(i.url):{});(0,r.useEffect)((function(){var e=setTimeout((function(){f.current.forEach((function(e,n){setTimeout((function(){f.current[n].style.opacity=1}),"fadeInSequentially"===t?500*(n+1):0)}))}),300);return function(){clearTimeout(e)}}),[]);var b=function(e){return function(t){f.current[e]=t}};return(0,gt.YH)(A,{sx:m,"data-variant":"component.fadein.".concat(d),children:[i&&!c&&i.url&&(0,gt.im)(B,{alt:i.alt,src:i.url,ref:b(0)}),(0,gt.YH)(s,{children:[o&&(0,gt.im)(R,{level:2,ref:b(1),children:o}),l&&(0,gt.im)(pe,{as:"p",ref:b(2),children:l})]}),n&&(0,gt.im)(p,{onClick:n.action,variant:"primary",ref:b(3),children:n.copy})]})},vt=function(e){var t=e.suffix,n=e.unit,o=e.value,i=e.variant,a=void 0===i?"primary":i;return r.createElement(s,{"data-testid":"_15gifts-feature",variant:"component.feature.".concat(a)},o&&r.createElement(H,{"data-testid":"_15gifts-feature-value",variant:"featureValue"},o.trim()),n&&r.createElement(H,{"data-testid":"_15gifts-feature-unit",variant:"featureUnit"},n.length>3?" ".concat(n):n),t&&r.createElement(H,{"data-testid":"_15gifts-feature-suffix",variant:"featureSuffix"},t))},ht=n(9448);function Ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&r.createElement(s,{variant:"component.navbar.kebabMenu"},a.map((function(e){return r.createElement(jt,{handleKebabMenu:b,item:e,key:"".concat(e.variant,"-").concat(e.copy)})}))))};function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bt(e){for(var t=1;t0&&C.map((function(e){if(null!==e){var t=e.additional,n=e.currencySymbol,o=e.labels,i=e.originalPrice,a=e.type,c=e.value;if(!e||!c)return null;var l="".concat(a,"-").concat(c);return r.createElement(E,{logic:e&&c,fallback:!0,key:"pricecondition".concat(l)},r.createElement(s,{key:"pricebox".concat(l),variant:"component.priceTotal.".concat(P,".priceWrapper")},!u&&i&&N({originalPrice:i}),r.createElement(Tt,{value:c,currencySymbol:n,isCurrencySymbolToTheRight:y,labels:o,key:"price".concat(l),testId:a&&"_15gifts-".concat(a,"-total"),priceSeparator:O,variant:P}),u&&i&&N({originalPrice:i}),t&&r.createElement(E,{logic:t,fallback:!0},r.createElement(s,null,t))))}return null}))),r.createElement(s,null,x&&r.createElement($,{variant:"priceTotalLegalCopy"},x),I&&r.createElement($,null,I)))};function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kt=function(e){var t,n,o,i,a=e.benefits,c=e.button,l=e.descriptions,u=e.extendedDescription,d=e.headingLevel,f=void 0===d?3:d,g=e.headings,m=e.offers,b=e.safeHtml,y=void 0===b?{}:b,v=e.status,h=e.type,O=e.variant,S=void 0===O?"primary":O,C=y.descriptions,T=y.headings,w=y.offers,_=(0,r.useCallback)((function(){return c.buttonOnClick({heading:g,text:u})}),[u,g]),I="talk"===h?"".concat(S).concat(h):S;return r.createElement(s,{variant:"component.productCard.".concat(I),"data-testid":"_15gifts-product-card"},r.createElement(E,{logic:null===(t=g)||void 0===t?void 0:t.length},r.createElement(R,{level:f},null===(n=g)||void 0===n?void 0:n.map((function(e){return r.createElement(pe,{key:e,isSafeHtml:T},e)}))),v&&r.createElement(pe,{variant:"productCardStatus"},v)),null===(o=m)||void 0===o?void 0:o.map((function(e){return r.createElement(Ut,(t=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n]+>/.test(u)?r.createElement("span",{dangerouslySetInnerHTML:{__html:u}}):u,r.createElement(oe,{id:m,checked:!!a,value:p,name:g,onClick:function(){return!a&&i},onChange:i,ref:0===t?y:null,variant:h}),c,f&&r.createElement(s,null,f)))}))))},Qt=function(e){var t=e.colorIconshape,n=e.option,o=e.variant,i=void 0===o?"primary":o;return r.createElement(E,{logic:n,fallback:!0},r.createElement(s,{variant:"component.singleOption.".concat(i)},n&&r.createElement(s,null,n.hex&&r.createElement(j,{fill:n.hex,r:12,cx:12,cy:12,shape:t}),r.createElement(pe,{variant:n.hex&&"singleOptionLabel"},n.label))))},$t=function(e){var t=e.boxRef,n=e.children,o=e.variant,i=void 0===o?"primary":o;return r.createElement(s,{children:n,ref:t,variant:"component.stickyBox.".concat(i)})};function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&n.forEach((function(e){e.col===t&&e.row===r&&(o=!0)})),o},un=function(e){var t,n=e.breakpoints,r=e.col,o=e.cols,i=e.dimensions,a=e.name,c=e.timer,l=i.height+i.gap;if(i.verticalShift){var u=(o/2-r)*i.verticalShift;l+=u,t=i.top+u}else t=r%2==0?i.top+l/2:i.top;var s=nn({top:"".concat(t,"px"),animation:"".concat(a," ").concat(c," linear")},"@keyframes ".concat(a),{"0%":{top:"calc(".concat(t,"px + ").concat(l,"px)")},"100%":{top:"".concat(t,"px")}});return Object.keys(n).forEach((function(e){if(i[e]){var u=n[e],d=i[e];if(l=d.height+d.gap,d.verticalShift){var f=(o/2-r)*d.verticalShift;l+=f,t=d.top+f}else t=r%2==0?d.top+l/2:d.top;s["@media (min-width: ".concat(u,"px)")]=nn({top:"".concat(t,"px"),animation:"".concat(a," ").concat(c," linear")},"@keyframes ".concat(a),{"0%":{top:"calc(".concat(t,"px + ").concat(l,"px)")},"100%":{top:"".concat(t,"px")}})}})),s},sn=function(e){var t,n,r=e.breakpoints,o=e.col,i=e.cols,a=e.dimensions,c=e.name,l=e.timer;a.verticalShift?(t=(i/2-o)*a.verticalShift,n=a.top):(t=a.height+a.gap,n=o%2==0?a.top+t/2:a.top);var u=nn({top:"calc(".concat(n,"px + ").concat(t,"px)"),animation:"".concat(c," ").concat(l," linear")},"@keyframes ".concat(c),{"0%":{top:"".concat(n,"px")},"100%":{top:"calc(".concat(n,"px + ").concat(t,"px)")}});return Object.keys(r).forEach((function(e){if(a[e]){var s=r[e],d=a[e];d.verticalShift?(t=(i/2-o)*d.verticalShift,n=d.top):(t=d.height+d.gap,n=o%2==0?d.top+t/2:d.top),u["@media (min-width: ".concat(s,"px)")]=nn({top:"calc(".concat(n,"px + ").concat(t,"px)"),animation:"".concat(c," ").concat(l," linear")},"@keyframes ".concat(c),{"0%":{top:"".concat(n,"px")},"100%":{top:"calc(".concat(n,"px + ").concat(t,"px)")}})}})),u},dn=function(e){var t=e.breakpoints,n=e.dimensions,r=e.name,o=e.row,i=e.timer,a=n.width+n.gap,c=o%2==0?n.left+a/2:n.left,l=nn({left:"".concat(c,"px"),animation:"".concat(r," ").concat(i," linear")},"@keyframes ".concat(r),{"0%":{left:"calc(".concat(c,"px + ").concat(a,"px)")},"100%":{left:"".concat(c,"px")}});return Object.keys(t).forEach((function(e){if(n[e]){var u=t[e],s=n[e];a=s.width+s.gap,c=o%2==0?s.left+a/2:s.left,l["@media (min-width: ".concat(u,"px)")]=nn({left:"".concat(c,"px"),animation:"".concat(r," ").concat(i," linear")},"@keyframes ".concat(r),{"0%":{left:"calc(".concat(c,"px + ").concat(a,"px)")},"100%":{left:"".concat(c,"px")}})}})),l},fn=function(e){var t=e.breakpoints,n=e.dimensions,r=e.name,o=e.row,i=e.timer,a=n.width+n.gap,c=o%2==0?n.left+a/2:n.left,l=nn({left:"calc(".concat(c,"px + ").concat(a,"px)"),animation:"".concat(r," ").concat(i," linear")},"@keyframes ".concat(r),{"0%":{left:"".concat(c,"px")},"100%":{left:"calc(".concat(c,"px + ").concat(a,"px)")}});return Object.keys(t).forEach((function(e){if(n[e]){var u=t[e],s=n[e];a=s.width+s.gap,c=o%2==0?s.left+a/2:s.left,l["@media (min-width: ".concat(u,"px)")]=nn({left:"calc(".concat(c,"px + ").concat(a,"px)"),animation:"".concat(r," ").concat(i," linear")},"@keyframes ".concat(r),{"0%":{left:"".concat(c,"px")},"100%":{left:"calc(".concat(c,"px + ").concat(a,"px)")}})}})),l};function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gn(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&r.createElement(At,p),i.map((function(e){return r.createElement(Tn.go,{key:e.type,options:e.options,text:e.text,clickData:e[c]||{},clickDataKey:c,config:l,handleCarouselClick:g,handleClick:m,handleExtrasDetailsClick:b,isActive:e.active,isScrollingOnTrigger:S,offersAccordion:_,plansAccordion:A,showConfirmIcon:!1,specAccordion:P,equipmentAccordion:d,termsAndConditions:N,type:e.type,variant:"".concat(j,".").concat(e.active?"normal":"active")})}))),sidebar:E?r.createElement(Tn.qK,{chatButton:a,ctas:u,discounts:s,prices:D,basketTermsAndConditions:o}):r.createElement(r.Fragment,null,r.createElement(xn,{basketRef:M,chatButton:a,ctas:u,discounts:s,handleScrollToBasket:B,hideFixedBasketOnScroll:h,onMobileFixedBasketClicked:x,totalPrices:D,basketTermsAndConditions:o}),r.createElement(Tn.Q9,{onBackClick:w.back.handleClick,onRestartClick:w.restart.handleClick,backText:w.back.text,restartText:w.restart.text}))}})};function Pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nn=function(e){var t=e.content,n=e.header,o=e.variant;return r.createElement(r.Fragment,null,r.createElement(s,{children:n,as:"header",variant:"component.resultTemplate.".concat(o,".header")}),r.createElement(s,{children:t,as:"main"}))},Dn=function(e){var t,n,o=e.loading,i=e.modal,a=e.slots,c=e.variant,l=void 0===c?"primary":c,u=a.content,d=a.header,f=a.sidebar,p=a.top;return r.createElement(s,{variant:"component.resultTemplate.".concat(l)},r.createElement("div",{id:"15gifts-modalPortal-root"}),p,(null===(t=o)||void 0===t?void 0:t.isLoading)&&r.createElement(Pt,function(e){for(var t=1;t0&&e.map((function(e,t){var n,i,a;return e&&r.createElement(o.EJ,g({key:"".concat(null===(n=e)||void 0===n?void 0:n.value,"-").concat(null===(i=e)||void 0===i?void 0:i.suffix,"-").concat(null===(a=e)||void 0===a?void 0:a.type),variant:0===t?"heroBasketItem":"basketItem"},e))}))},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e,n){var i=e.items,a=e.label,c=t?"Strikethrough":"";return r.createElement(o.ye,{key:"".concat(n,"-").concat(c,"price"),variant:"component.grid.basketItem".concat(c)},a&&r.createElement(o.a,{variant:"basketItemPriceLabel"},a),i.map((function(e){var t=e.containerVariant,n=e.currencySymbol,i=e.labels,a=e.value;return r.createElement(o.gx,{key:"".concat(t,"-").concat(a),currencySymbol:n,labels:i,testId:_(t),value:a,variant:"basketItem"})})))}))};return r.createElement(o.Cu,{variant:"component.basketItem.".concat(w)},(m||E||d||u)&&r.createElement(o.ye,{variant:"component.grid.basketItem"},!!m&&r.createElement(o._m,{level:4},m),d&&(a=d.isShow,c=d.onClick,l=d.text,a?r.createElement(o.q,{onClick:c,variant:"basketItem"},l):null),u&&u.length>0&&u.map((function(e){return r.createElement(o.kv,{key:e,variant:"component.basketItem.bannerWrapper"},r.createElement(o.a,null,e))})),!!E&&r.createElement(o.a,{variant:"basketItem"},E)),O&&r.createElement(o.kv,{variant:"component.basketItem.bulkPurchase"},r.createElement(o.a,{variant:"basketItem.bulkPurchase"},O)),f&&I(f),p&&p.length>0&&p.map((function(e,t){var n=e.features,i=e.name,a=void 0===i?"":i,c=e.prices,l=e.showBasketGroupName,u=void 0!==l&&l;return r.createElement(r.Fragment,{key:"basket-groupitems-".concat(t)},u&&r.createElement(o.a,{as:"p",variant:"basketGroupName"},a),I(n),x(c))})),(null===(t=b)||void 0===t?void 0:t.length)>0&&b.map((function(e){return r.createElement(o.a,{key:e,variant:"basketItem"},e)})),v&&x(v,!0),h&&x(h),(i=(null===(n=y)||void 0===n?void 0:n.filter((function(e){return"Banner"!==e.displayType})))||[]).length>0&&i.map((function(e){return r.createElement(o.wn,g({key:"offer_".concat(e.offerId),variant:"basketItem"},e))})),s&&r.createElement(o.a,{variant:"basketItem"},s))};function b(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var y=function(e){var t;if(e&&(t=function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e),window.TouchEvent&&b(t,TouchEvent)){var n,r,o,i;if(null===(r=t.touches)||void 0===r||null===(n=r[0])||void 0===n?void 0:n.clientX)return t.touches[0].clientX;if(null===(i=t.changedTouches)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.clientX)return t.changedTouches[0].clientX}return b(t,MouseEvent)&&t.clientX?t.clientX:0},v=function(e){var t=e.event,n=e.xPosition,r=void 0===n?{transformX:0,clientX:0}:n;return r.transformX+y(t)-r.clientX},h=function(e){var t=e.event,n=e.ref,r=e.scrollDistanceWidth,o=e.xPosition,i=function(e){var t,n,r;return(null===(r=e)||void 0===r||null===(n=r.current)||void 0===n||null===(t=n.children)||void 0===t?void 0:t.length)-1}(n),a=function(e){var t=e.scrollDistanceWidth,n=void 0===t?0:t,r=e.transformX,o=void 0===r?0:r;return(o>0?0:Math.abs(o))/n}({transformX:v({xPosition:o,event:t}),scrollDistanceWidth:r});return{maxActiveIndex:i,scrollPosition:a}},O=function(e,t){e.current.style.transform="translate3d(".concat(t,"px,0,0)")};function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"))},x=function(e){var t,n,i=e.ariaLabelTitle,a=void 0===i?"":i,c=e.children,l=e.isChildrenWrapped,u=void 0!==l&&l,s=e.isFixedScrolling,d=void 0===s||s,f=e.isTabbedNavigation,p=void 0!==f&&f,g=e.scrollDistance,m=void 0===g?100:g,b=e.testId,w=void 0===b?"_15gifts-carousel":b,x=e.useComponentsWidthAsScrollDistance,A=void 0!==x&&x,P=e.variant,N=void 0===P?"primary":P,D="component.carousel.".concat(N),R=C((0,r.useState)(!1),2),k=R[0],j=R[1],L=C((0,r.useState)(0),2),M=L[0],B=L[1],U=C((0,r.useState)(!1),2),H=U[0],G=U[1],F=C((0,r.useState)({transformX:0,clientX:0}),2),W=F[0],K=F[1],z=C((0,r.useState)(m),2),V=z[0],Y=z[1],q=(0,r.useRef)(null),X=(0,r.useRef)(null),Q=(0,r.useRef)(null),$=(0,r.useCallback)((function(e){if(Array.isArray(e)){var t,n,r,o;if(J(0),e[0].contentRect.width){var i=(null===(n=(t=q).current)||void 0===n?void 0:n.clientWidth)>=(null===(o=t.current)||void 0===o||null===(r=o.children[0])||void 0===r?void 0:r.clientWidth);G(i)}Q.current&&Y(Q.current.offsetWidth)}}),[]);(0,r.useLayoutEffect)((function(){if(q.current){var e=new ResizeObserver((function(e){return $(e)}));return e.observe(q.current),function(){e.disconnect(),e=null}}}),[q]),(0,r.useEffect)((function(){return document.addEventListener("mouseup",re),document.addEventListener("mousemove",oe),function(){document.removeEventListener("mouseup",re),document.removeEventListener("mousemove",oe)}}));var J=function(e){B(e);var t=0-e*V;!function(e){var t;(t=X.current.children,function(e){if(Array.isArray(e))return E(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||T(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).forEach((function(t,n){return n===e?t.classList.add("active-child"):t.classList.remove("active-child")}))}(e),O(X,t),K({transformX:t,clientX:0}),j(!1)},Z=(0,r.useCallback)((function(e){if(!k){j(!0);var t=Number(e.currentTarget.getAttribute("data-tabitem"));J(t)}}),[k,V,u]),ee=(0,r.useCallback)((function(){if(!k){j(!0);var e=h({ref:X,xPosition:W,scrollDistanceWidth:V}).scrollPosition,t=e%1==0?Math.floor(e)-1:Math.floor(e);J(0!==t?t:0)}}),[k,W,V,u]),te=(0,r.useCallback)((function(){if(!k){j(!0);var e=h({ref:X,xPosition:W,scrollDistanceWidth:V}),t=e.maxActiveIndex,n=e.scrollPosition,r=n%1==0?Math.ceil(n)+1:Math.ceil(n);J(r0&&r.forEach((function(e){!e.complete&&e.addEventListener("load",n)}))}return function(){return window.removeEventListener("resize",n)}}),o)}({cb:Y,dimension:"width",dependencies:[c,A,u],includeMargin:!0,useOffsetSize:!0}),ce=r.isValidElement(c)&&u?c.props.children:c,le=r.Children.map(ce,(function(e,t){return r.isValidElement(e)?0===t&&A?r.cloneElement(e,{ref:ie}):r.cloneElement(e):e}));return r.createElement(o.kv,{variant:D},r.createElement(o.kv,{ref:q,variant:"".concat(D,".container"),onMouseDown:ne,onTouchStart:ne,onTouchEnd:re,onTouchMove:oe,"data-testid":w},r.createElement(o.kv,{"data-testid":"_15gifts-carousel-itemwrapper",ref:X,variant:"component.carousel.".concat(N,".itemWrapper")},le)),p?r.createElement(_,{activeIndex:M,ariaLabelTitle:a,itemCount:u?null===(t=ce)||void 0===t?void 0:t.length:le.length,onTabClick:Z}):r.createElement(I,{activeIndex:M,itemCount:u?null===(n=ce)||void 0===n?void 0:n.length:le.length,onLeftClick:ee,onRightClick:te,ariaLabelTitle:a,isDisabled:H}))},A=function(e){return e.stopPropagation(),e},P=n(4828),N=function(e){return Array.isArray(e)&&!!e.length},D=n(1792);function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],t=H.isOfferAccordionOpen,n=H.resultHeadingOfferAccordion,i=H.showOfferAccordion,a=B.map((function(t){return e&&!t.showOffersAfterTotalPrice||!e&&t.showOffersAfterTotalPrice?null:r.createElement(o.wn,j(k({key:"_15gifts-offer-".concat(t.offerId)},t),{variant:e?"autopay":ne}))}));return r.createElement(o.oe,{logic:B.length},r.createElement(o.kv,{variant:"component.columnCard.offers"},i&&!e?r.createElement(o.G7,{isOverrideOpen:t,text:n},a):a))},oe=r.createElement(o.kv,{variant:"component.columnCard.lastContainer"},r.createElement(o.oe,{logic:z&&N(z.prices)},r.createElement(o.MB,j(k({headingLevel:(0,D.c)(x)(1)},z),{variant:"columnCard",priceSeparator:K,isCurrencySymbolToTheRight:O}))),re(!0),y&&r.createElement(o.a,{isSafeHtml:!0,"data-testid":"_15gifts-ColumnCard-disclaimer",variant:"disclaimer",onClick:A},y),p&&p.copy&&r.createElement(o.q,p,p.copy)),ie=te;return Y?ie="".concat(te,"Radio"):X&&(ie="".concat(te,"Tick")),r.createElement(o.M1,{"data-testid":Z,onClick:W,onKeyDown:(0,P.c)(W,{strictTarget:!0}),tabIndex:$,variant:T&&d.length>0?"columnCardWithOfferSelected":ne},c&&c.map((function(e,t){return r.createElement(o.kv,{key:t,variant:"component.columnCard.banner"},e&&r.createElement("div",{key:"_15gifts-banner-".concat(t)},e.text))})),re(),r.createElement(o.kv,{variant:"component.box.".concat(T?"columnSelected":"column")},r.createElement(o.ye,{variant:"component.columnCard.".concat(ie)},L.inner&&T&&re(),Y&&r.createElement(o.kv,{variant:T?"component.columnCard.radioWrapperSelected":"component.columnCard.radioWrapper"},r.createElement(o.OU,{checked:T,"aria-label":"".concat(h," ").concat(T?"Selected":"Not Selected"),readOnly:!0,variant:"columnCard"})),r.createElement(o._m,{level:(0,D.c)(x)()},h),X&&r.createElement(o.kv,{variant:T?"component.columnCard.tickContainerSelected":"component.columnCard.tickContainer"},r.createElement(o.yw,{checked:T,"aria-label":"".concat(h," ").concat(T?"Selected":"Not Selected"),readOnly:!0})),function(){var e=u.featured,t=u.variant,n=void 0===t?"":t;return r.createElement(o.oe,{logic:u&&N(u.featured)||u&&u.image},r.createElement(o._u,j(k({},u),{items:e,variant:"columnCardFeatured".concat(n)})),i&&r.createElement(o.kv,{variant:"component.columnCard.featuredLinkWrapper"},r.createElement(o.q,{onClick:G,variant:"link"},i)))}(),!!m&&r.createElement(o.a,{isSafeHtml:S,"data-testid":"_15gifts-ColumnCard-description",variant:"columnDescription"},m),_&&r.createElement(o.a,{"data-testid":"_15gifts-ColumnCard-legal",variant:"legal"},_),oe,(t=u.accordion,n=u.extras,r.createElement(o.oe,{logic:n&&N(n)},n&&n.length>0&&r.createElement(o.G7,j(k({"data-testid":"_15gifts-accordion"},t),{variant:"extrasAccordion"}),r.createElement(o._u,{items:n,dataTestId:"_15gifts-benefit",variant:"columnCardExtras"})))))))};function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){var t=e.clickDataKey,n=e.config,i=void 0===n?{}:n,a=e.handleClick,c=e.handleShowExtended,l=e.headingLevel,u=void 0===l?3:l,s=e.isWithHeading,d=void 0===s||s,f=e.items,p=void 0===f?[]:f,g=e.text,m=void 0===g?{}:g,b=e.toggletip,y=e.variant,v=void 0===y?"primary":y,h=m.heading,O=void 0===h?"":h;return p.length?r.createElement(o.kv,{variant:"component.extraList.".concat(v)},r.createElement(o.oe,{logic:d&&O},r.createElement(o._m,{level:u},O)),p.map((function(e,n){var l,u,s=e.category||"default",d=i[s]||{},f=d.isWithControl,p=d.isWithCta,g=e[t];return"optionList"===v&&e.active?null:r.createElement(o.Yj,(l=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&window.scrollTo({top:(null===(n=r)||void 0===n?void 0:n.scrollTop)||0,behavior:"smooth"})});return n?r.createElement(o.kv,{variant:"component.inPage.".concat(l),ref:u,id:V,className:V},r.Children.map(n,(function(e){if(r.isValidElement(e)){var t=function(e){for(var t=1;t]+)>)/gi,"")};function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1},r.createElement(o.G7,{text:function(e){return e?T.text.hideMore:T.text.viewMore},isBothSideControl:!0,isInitialOpen:w.isOpen,isScrollingOnTrigger:O,onClickAction:function(e,t){w.onClick({isOpen:t,text:T.text,category:j})},isWithNestedAccordion:S,accordionBodyId:"_15gifts-plans-accordion-body-".concat(j),accordionId:"_15gifts-plans-accordion-".concat(j),itemId:"".concat(j)},r.createElement(o.E$,J($({},T),{clickDataKey:d,handleClick:m,headingLevel:v,variant:"optionList"})))),r.createElement(o.oe,{logic:h&&T.items},L&&L.map((function(e,t){var n,i={onClickAction:z(e),isInitialOpen:_.isOpen};return"broadband_extras"===e.type||"offers"===e.type?i={onClickAction:K(e),isInitialOpen:C.isOpen}:"broadband_routers"===e.type&&(i={onClickAction:V(e),isInitialOpen:p.isOpen}),r.createElement(o.G7,J($({key:e.type||"extraCategory-".concat(t)},i),{accordionBodyId:"_15gifts-extras-accordion-body-".concat(t),accordionId:"_15gifts-extras-accordion-".concat(t),isScrollingOnTrigger:O,isWithNestedAccordion:!0,text:function(t){var n=(e.safeHtml||{}).headings,i=Z(e.text.headings||[],2),a=i[0],c=i[1],l=t&&c||a;return n?r.createElement(o.a,{isSafeHtml:n},l):l}}),"offers"===e.type?(n=e.items,r.createElement(o.ER,{clickDataKey:d,isChildrenWrapped:!0,useComponentsWidthAsScrollDistance:!0,variant:"primary",children:Y(n),scrollDistance:100})):r.createElement(o.E$,J($({},e),{clickDataKey:d,config:f.extrasList,toggletip:f.offer.toggletip,handleClick:m,handleShowExtended:b,headingLevel:v,isWithHeading:!1,variant:"extrasList"})))})))),I&&r.createElement(o.kv,{"data-variant":"component.mediaResultContainer.termsAndConditions",variant:"component.mediaResultContainer.termsAndConditions"},I)))})),te=function(e){var t=e.backText,n=e.onBackClick,i=e.onRestartClick,a=e.restartText,c=e.variant,l=void 0===c?"primary":c;return r.createElement(o.kv,{variant:"component.mobileNav.".concat(l)},r.createElement(o.q,{variant:"resultMobileNavBackButton",onClick:n},t),r.createElement(o.q,{variant:"resultMobileNavRestartButton",onClick:i},a))},ne=n(6907),re=n.n(ne);var oe=function(e){var t=e.container,n=e.dismissable,i=void 0===n||n,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["container","dismissable"]);return r.createElement(o.a8,{container:t},r.createElement(re(),{active:!0,focusTrapOptions:{escapeDeactivates:!0,clickOutsideDeactivates:!0,onDeactivate:function(){return i&&a.onClose&&a.onClose(null)}}},r.createElement(o.kv,{variant:"component.modal.background",id:"_15gifts-modal-background"},r.createElement(o.EX,a))))},ie=n(4300),ae=n.n(ie);function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{};return p.activeRecName?e[p.name](p.activeRecName):e[p.name]},_=[{variant:"primary",onClick:function(){T(),g("super_engagement"),c(p,l)},children:w(null===(t=l)||void 0===t?void 0:t.overlayEngagementButtonCtaPrimary)},{variant:"secondary",onClick:T(),children:w(null===(n=l)||void 0===n?void 0:n.overlayEngagementButtonCtaSecondary)}],I={heading:w(null===(i=l)||void 0===i?void 0:i.overlayEngagementHeader),text:w(null===(a=l)||void 0===a?void 0:a.overlayEngagementBody)};return r.createElement(o.kv,{variant:"component.overlayEngagement.".concat(b),sx:{display:v&&"none"},"aria-live":"polite"},r.createElement(o.kv,{variant:"component.overlayEngagement.overlay"}),r.createElement(o.EX,{ariaLabeledBy:"_15gifts-overlay-engagement-heading",id:"_15gifts-overlay-engagement-heading",copy:I,ctas:_,headingLevel:u,variant:"overlayEngagement",onClose:T,sx:{left:"calc(50% - ".concat(E/2,"px)")},modalContainerRef:C}))},Se=n(4464),Ce=n(9108),Te=n(5284),we=n(6456),_e=n(8648);function Ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"negative_cta";Ge(!0),f(e)},Qe=function(){return w(Ne,ge),ve(!0),S(Ne,ge)},$e=function(){Qe()},Je=(0,r.useCallback)((function(){Ze()}),[]),Ze=function(){Ee(!0),p(),i(),s()};(0,r.useEffect)((function(){if("feedback"!==A&&"survey"!==A||!ye)if("feedback"!==A&&"survey"!==A||!de)if("engagement"===A&&He)Be(B),je(null),q(!0);else{var e,t;Be(L),je(M),"engagement"===A&&Ke((null===(e=d)||void 0===e?void 0:e.showPrimaryBubbleCloseButton)||(null===(t=d)||void 0===t?void 0:t.showCloseButton)),"feedback"!==A&&"survey"!==A||Ke(!0)}else Be(U),je(G),"feedback"===A&&ee(N),"survey"===A&&ee("survey");else q(!0),je(null),Be(H);"welcome"!==A&&"awareness"!==A||(Ke(!1),q(!0))}),[b,A]),(0,r.useEffect)((function(){if(Y){var e=setTimeout((function(){b&&i("timer"),I(!b),q(!1)}),F);return function(){return clearTimeout(e)}}}),[Y,Oe]),(0,r.useEffect)((function(){var e;"engagement"===A&&He?(Be(B),q(!0),je(null),Ke((null===(e=d)||void 0===e?void 0:e.showSecondaryBubbleCloseButton)||!1)):null!==Ne&&("survey"===A&&y&&ee("survey"),E||"survey"===A?(Ke(!0),Be(U),je(G),fe(!0)):(ve(!0),S(ge,Ne)),ye&&("survey"===A&&y&&ee(N),je(null),q(!0),Be(H),fe(!1),Ke(!1))),setTimeout((function(){a&&a(),at()}),25)}),[He,Ne,ye,ge]),(0,r.useEffect)((function(){var e,t,n;z((null===(t=ze)||void 0===t||null===(e=t.current)||void 0===e?void 0:e.offsetWidth)||K),ue(null===(n=_)||void 0===n?void 0:n.current.offsetHeight)}),[b]),(0,r.useLayoutEffect)((function(){var e;it.setReference(null===(e=_)||void 0===e?void 0:e.current)}),[_]),(0,r.useEffect)((function(){var e;if(setTimeout((function(){var e,t;$(null===(t=n)||void 0===t||null===(e=t.current)||void 0===e?void 0:e.offsetHeight),k&&u&&u(Q)}),50),null===(e=n)||void 0===e?void 0:e.current){var t=new ResizeObserver((function(){var e,t,r,o,i,a,c,l,u,s,d=null===(t=_)||void 0===t||null===(e=t.current)||void 0===e?void 0:e.getBoundingClientRect(),f=null===(o=n)||void 0===o||null===(r=o.current)||void 0===r?void 0:r.getBoundingClientRect(),p=(null===(i=d)||void 0===i?void 0:i.top)+(null===(a=d)||void 0===a?void 0:a.height)/2-Math.round((null===(c=f)||void 0===c?void 0:c.height)/2)||0,g=(null===(l=d)||void 0===l?void 0:l.left)+(null===(u=d)||void 0===u?void 0:u.width)/2-Math.round((null===(s=f)||void 0===s?void 0:s.width)/2)||0;re(p),ae(g)}));return t.observe(n.current),function(){return t.disconnect()}}}),[]);var et,tt,nt,rt=k?"bottom":h,ot=(0,Se.gR)({placement:rt,middleware:[(0,Ce.E3)(76),(0,Te.EB)(),(0,we.eo)({element:ze})]}),it=ot.refs,at=ot.update,ct=rt.toLowerCase(),lt="bottom"===ct||"top"===ct?"left":"top",ut=k?"".concat(Z,"Mobile"):Z,st=-500;return b&&!k&&(st=le+K/2+12),k&&(st=0),r.createElement(o.kv,{"aria-hidden":!b,"aria-live":"polite",ref:n,sx:xe({top:j?ne:"auto",left:R?ie:"auto"},ct,st),variant:"component.popupBubble.".concat(ut)},r.createElement(o.ye,null,We&&r.createElement(o.CA,{onClick:Ve,variant:"closeBubble","data-testid":"_15gifts-bubble-cross"}),Me,ke&&r.createElement(o.Cu,{variant:"component.popupBubble.".concat(N,".buttonContainer")},ke)),!k&&r.createElement(o.kv,{ref:ze,sx:(tt=Ae({},{bottom:{clipPath:"polygon(100% 0%, 0% 100%, 100% 100%)"},left:{clipPath:"polygon(0% 0%, 0% 100%, 100% 100%)"},top:{clipPath:"polygon(100% 0%, 0% 0%, 0% 100%)"},right:{clipPath:"polygon(100% 0%, 0% 0%, 100% 100%)"}}[ct]),et={},xe(et,ct,"top"!==ct?"-".concat(K/2-1,"px"):0),xe(et,lt,"calc(50% - ".concat(K/2,"px)")),nt=et,nt=null!=nt?nt:{},Object.getOwnPropertyDescriptors?Object.defineProperties(tt,Object.getOwnPropertyDescriptors(nt)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(nt)).forEach((function(e){Object.defineProperty(tt,e,Object.getOwnPropertyDescriptor(nt,e))})),tt),variant:"component.popupBubble.".concat(N,".arrow")}))},De=n(6796);function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1};return r.createElement(o.oe,{logic:g||h||!!x&&x.length>0||x.some((function(e){var t=e.options;return k(t)}))},r.createElement(o.kv,{variant:"component.productVariants.".concat(R)},y?r.createElement(o.c8,{dataTestId:"_15gifts_productVariants-loading",spinnerVariant:P,variant:"productVariants"}):null,r.createElement(o.kv,{sx:y&&{visibility:"hidden"}},c&&r.createElement(o._m,{level:3},c),r.createElement(o.G7,{text:function(e){return e?u||t:l||t},isInitialOpen:g,onClickAction:E,hideAccordionButton:s,hideButtonOnOpen:f,variant:"productDetails",accordionBodyId:"_15gifts-product-details-accordion-body-".concat(_),accordionId:"_15gifts-product-details-accordion-".concat(_)},x.map((function(e){return r.createElement($e,{key:e.label,productVariant:e,colorIconshape:n,isCustomSelect:m,onOptionChange:C,onOptionToggle:w,selectRef:A,variant:R,hasMultipleOptions:k,productIndex:_,toggletip:N})})),h&&r.createElement(Xe,{settings:a})))))};function Ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function et(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=1?1:0},{animation:"nudge 2s","@keyframes nudge":{"0%":{left:"-30px"},"100%":{left:"0px"}}})},c&&u?c:a),r.createElement(o.gZ,{ref:h(2),sx:ut({opacity:E&&E>=2?1:0},{animation:"nudge 2s","@keyframes nudge":{"0%":{left:"-30px"},"100%":{left:"0px"}}})},g&&u?g:p),r.createElement(o.q,{ref:h(3),sx:ut({opacity:E&&E>=3?1:0},{animation:"buttonNudge 3s","@keyframes buttonNudge":{"0%":{opacity:0,left:"-10px"},"50%":{opacity:0,left:"-10px"},"60%":{opacity:1,left:"0px",transform:"scale(1.0)"},"70%":{transform:"scale(1.025)"},"80%":{transform:"scale(1.0)"},"90%":{transform:"scale(1.025)"},"100%":{transform:"scale(1.0)"}}})},f&&"before"===f.placement&&r.createElement("span",{"aria-hidden":!0},f.svg),d&&u?d:s,f&&"after"===f.placement&&r.createElement("span",{"aria-hidden":!0},f.svg))))},dt=function(e){var t,n=e.id,i=e.isLoading,a=void 0!==i&&i,c=e.listBoxLabel,l=e.listBoxRef,u=e.loadingCopy,s=e.onSelect,d=e.options,f=void 0===d?[]:d,p=e.selectedItemIndex,g=e.spinnerType,m=void 0===g?null:g,b=e.variant,y=void 0===b?"primary":b,v=(0,r.useCallback)((function(e){return function(){s(e)}}),[s]);return r.createElement(o.kv,{as:"ul",variant:"component.selectableList.".concat(y),ref:l,role:"listbox","aria-label":c,id:n,"aria-activedescendant":(null===(t=f[p])||void 0===t?void 0:t.id)||null},a?r.createElement(o.Cu,{variant:"component.flex.selectableListLoading","aria-live":"polite"},r.createElement(o.c8,{spinnerVariant:m,variant:"selectableListSpinner"}),r.createElement(o.gZ,null,u)):f.map((function(e,t){return r.createElement(o.kv,{as:"li",key:e.id,"aria-selected":t===p,role:"option",onClick:v(t),onMouseDown:v(t),variant:"selectableList",id:e.id},r.createElement(o.a,null,e.copy))})))},ft=n(8740);function pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var n=t("up");R&&R(P[n].copy),q(n)}if("ArrowDown"===e.key&&Q.length){var r=t("down");R&&R(P[r].copy),q(r)}"Enter"===e.key&&le(Y),"Escape"===e.key&&ce()}),[Y,Q,P,B]);return r.createElement(o.kv,{variant:"component.typeahead.".concat(H)},r.createElement(o.oe,{logic:!!m},r.createElement(o.iM,{htmlFor:c,id:b,ref:K},m)),r.createElement("div",{role:"combobox","aria-haspopup":"listbox","aria-expanded":Q.length>0&&!!ne},r.createElement(o.Cu,{variant:"component.flex.typeahead"},r.createElement(o.EF,{ref:G,"aria-label":"".concat(m||"Typeahead input"," field"),"aria-labelledby":b,id:c,name:C,onBlur:function(e){T&&T(e),re(!1)},onChange:function(e){ee(e.target.value)},onFocus:function(e){_&&_(e),re(!0),p&&"function"==typeof z&&z()},onKeyDown:ue,placeholder:D,type:"text",autoComplete:"off",maxLength:E,value:Z,"aria-controls":j,"aria-activedescendant":(null===(t=Q[Y])||void 0===t?void 0:t.id)||null}),u&&r.createElement(o.c8,{spinnerVariant:O,variant:"typeaheadSpinner"}),!u&&!!Z&&r.createElement(o.q,{"aria-label":"clear",onClick:ce,variant:"typeaheadClear"},i)),r.createElement("div",{hidden:!ne},r.createElement(dt,{id:j,options:Q,listBoxRef:F,isLoading:d,loadingCopy:v,listBoxLabel:"selectableList",spinnerType:O,variant:"typeahead",selectedItemIndex:Y,onSelect:le}))),r.createElement(o.oe,{logic:!!L},r.createElement(o.a,{testId:"15gifts-typeahead-validation",role:"alert"},L)))};function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vt(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(i,["isWithUnits"]);return r.createElement(o.kv,{variant:"component.postcodeChecker.".concat(c)},r.createElement(o.Sq,ht(vt({},t),{isFieldLoading:d,isListLoading:u})),v&&r.createElement(o.Sq,ht(vt({},h),{isListLoading:u})),p&&r.createElement(o.Cg,ht(vt({},g),{spinnerVariant:b})))}},6796:function(e,t,n){"use strict";var r=n(4300),o=n.n(r);o().addHook("afterSanitizeAttributes",(function(e){e.hasAttribute("rel")&&(e.rel.indexOf("noopener")>-1||e.rel.indexOf("noreferrer")>-1)&&(e.setAttribute("target","_blank"),e.hasAttribute("aria-label")||e.setAttribute("aria-label","".concat(e.innerText," - new window")))})),t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{__html:o().sanitize(e)}}},8740:function(e,t,n){"use strict";var r=n(1504),o=n(8084),i=n.n(o),a=n(3084),c=n.n(a),l={time:500,isScrollable:function(e,t){return t(e)&&e!==window},align:{top:0}};t.cp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=(0,r.useRef)(null);return[t,function(){c()(t.current,i()(l,e))}]}},4772:function(e,t,n){"use strict";var r=n(8648),o=n(9899),i=n.n(o),a=n(3336),c=n(424),l=n(4416);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:i()).interceptors,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.startTime,o=void 0===r?new Date:r,i=n.uniqueId,a=void 0===i?(0,l.c)():i;e.request.use((function(e){return d(s({},e),{uniqueId:a,meta:{startTime:o}})}),(function(e){return Promise.reject(e)})),e.response.use((function(e){var n,r,o=d(s({},e),{responseTime:f(null===(r=e)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.meta)});return t(o),o}),(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(e.config||{}).startTime;return e.responseTime=f({startTime:n}),t(e),Promise.reject(e)}))}}(i(),p),m=n(7216),b=n(2820),y=n(2468),v=n(2332),h=n(7104),O=function(e){e&&((0,h.unmountComponentAtNode)(e),e.parentNode.removeChild(e))},E=n(4024),S=n(9336),C=n(7320),T=n.n(C),w=n(8392),_=n(9652),I="__15gifts",x="leap",A=n(1112),P=n(8652),N=n(7364),D=(0,n(2808).M3)((function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).engagement;return(void 0===e?{}:e)||{}}),(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).suppress;return void 0!==e&&e})),R=n(1140),k=n(2952),j=n(4584),L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Missing value";return function(t){return function(n){if(!n)throw new Error(e);return t&&t(n)}}},M=n(4860);function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var G={engagementHeader:{action:j._6,key:"bubbleHeader.engagement"},engagementCopy:{action:j._6,key:"bubbleBody.engagement"},loadingHeader:{action:w.tH,key:"firstMessage"}},F=L("Copy is missing")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object.keys(e).map(function(e){var t=e.copy,n=e.dispatch,r=e.map;return function(e){return function(e){return function(t){var n=t.action,r=t.key;return function(t){return n&&r&&e(n({key:r,value:t}))}}}(n)(function(e){return function(t){return e[t]||{}}}(r)(e))(t[e])}}({dispatch:(0,y.ak)().dispatch,copy:e,map:G}))})),W=L("Branch text id is missing")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,y.ak)().dispatch((0,w.e8)(e))})),K={announceChatState:function(e){var t=((arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,y.ak)())||{}).dispatch;e===R.g.CHAT_OPENED&&t((0,A.UF)()),e===R.g.CHAT_CLOSED&&t((0,A.od)())},hasResult:function(){var e=(0,y.ak)().getState(),t=e.engine,n=void 0===t?{}:t,r=e.result,o=void 0===r?{}:r;return(0,S.mW)({result:o,engine:n})},jumpBySearchId:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,y.ak)())||{},n=t.dispatch,o=(0,t.getState)().engine;n(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{type:r.g9.DEBUG_SEARCH_ID_CHANGE,payload:{debugSearchId:e}}}(e)),n(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.uo.NEXT.DEBUG;return function(r){r((0,P.QX)(e,t,n))}}("",800,r.uo.NEXT.DEBUG)),!o.open&&n((0,w.Ad)())},openLinkInNewWindow:M.c,setStartBranchTextId:W,showSearchId:function(){return c.c.log((0,y.ak)().getState().engine.searchId)},suppressEngagementBubble:function(){var e,t,n,r=(0,y.ak)(),o=r.dispatch,i=(0,r.getState)().launcher;n=(0,y.ak)().getState,D(n())||(o((0,N.K_)()),o((0,N.__)(!0)),(null===(t=i)||void 0===t||null===(e=t.bubble)||void 0===e?void 0:e.isBubbleOpen)&&o((0,j.c5)("external")))},triggerEngagementBubble:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,k.mc)({store:(0,y.ak)(),rule:{type:r._K.EXTERNAL},trackingData:U({},e)})},triggerEngineOpen:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.store,n=void 0===t?(0,y.ak)():t,r=H(e,["store"]),o=n||{},i=o.dispatch;!(0,o.getState)().engine.open&&i((0,w.Ad)(R.a.EXTERNAL_TRIGGER,U({},r)))},triggerExternalEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.store,n=void 0===t?(0,y.ak)():t,r=H(e,["store"]);(0,(n||{}).dispatch)((0,w.Qj)(U({},r)))},updateCopy:F},z=K;function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,["payload","type"]);return e(Y({type:i,payload:r},a))}},Q=n(5644),$=n(9280),J=(0,Q.c)($.c.HOT),Z=n(5704),ee=n(8744);function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:function(){};n.g[I]=q(Y({},n.g[I]||{}),(V(t={},x,q(Y({},T().get(n.g[I],x,{}),z,function(e){var t=(e()||{}).chat,n=(void 0===t?{}:t).config;return(void 0===n?{}:n).isRenderChat?{chat:{eventQueue:[]}}:{}}(r)),{dispatcher:X(e),getState:r})),V(t,"events",_.q),t)),e((0,w.gf)())}(u.dispatch,u.getState),function(e){var t=e.store;(0,a.cp)(r.YJ.INIT_SESSION,{store:t})}({store:u}),g.isReady){var y=u.getState,v={data:{config:f,engine:g,launcher:b},isStoreInitialised:y},h=(0,S.Ub)({engine:g}).externalEngagement;(0,k.UH)(v)?(0,k.EW)(u):c.c.info("engagement disabled: ",{data:{externalEngagement:h,isStoreInitialised:y}}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!(0,k.UH)(e)}(v)&&function(e){var t=e.dispatch,n=void 0===t?function(){}:t,r=e.getState,o=(void 0===r?function(){}:r)()||{},i=o.engine,a=(void 0===i?{}:i).hotDelay,c=o.engine;(0,S.Ub)({engine:c}).externalEngagement||(!Number.isNaN(a)&&a>0?setTimeout((function(){return n(J())}),a):n(J()))}(u),(0,ee.on)({isShowOverlay:ie,partner:o,store:u}),(0,Z.UD)({partner:o,store:u})}}({partner:t,state:e,store:o,storeSubscription:re}):(0,S.gl)(e)&&c.c.log("RTO failed")}))}({partner:i,store:l}),function(e){var t=e.__evo,n=e.extraData,o=e.store;(0,a.cp)(r.YJ.BEFORE_READY,{store:o}).then((function(e){return(0,E.SO)({__evo:t,data:ne({},e,n),store:o})}))}({__evo:t,extraData:o,store:l})}},le=function(e){var t=e.__evo,n=e.data,r=e.doc,o=e.initiator,i=e.partner,a=(0,y.eS)(i);if(l=a,null!=(u=Error)&&"undefined"!=typeof Symbol&&u[Symbol.hasInstance]?u[Symbol.hasInstance](l):l instanceof u)c.c.error(a);else{var l,u,s=o({__evo:t,data:n,partner:i,store:a});"loading"===r.readyState?r.addEventListener("DOMContentLoaded",s):s()}},ue=function(e){var t=e.__evo,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["__evo"]);t.events&&t.events.addListener("coreInitialised",(function(e){!function(e){!function(){var e;re&&ae();var t=null===(e=(0,v.c)())||void 0===e?void 0:e.getElementById("root");if(O(t),document.getElementById(Z.a8)){var n,r=null===(n=(0,v.c)(Z.a8))||void 0===n?void 0:n.getElementById("root");O(r)}}(),le(e)}(ne({__evo:t,data:e},n))}))};oe=b.c,"true"===(0,m.c)()[r.ai.STANDALONE]&&(c.c.info("Initialise mocking"),Promise.all([n.e(275),n.e(384)]).then(n.bind(n,9608)).then((function(e){return e.default(window)}))),g(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.__evo,n=void 0===t?window.__evo||{}:t,r=e.doc,o=void 0===r?document:r,i=e.initiator,a=void 0===i?ce:i,c=e.partner,l={__evo:n,doc:o,initiator:a,partner:void 0===c?b.c:c};ue(l),le(l)}({__evo:window.__evo,partner:oe})},2820:function(e,t,n){"use strict";n.d(t,{c:function(){return kt}});var r=n(5972),o=n.n(r),i=n(9899),a=n.n(i),c=n(7320),l=n(8648),u=n(424);function s(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}var d={checkInterval:500,timeout:1e4,onTimeout:function(){}};function f(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,i=Object.assign({},d,o),a=(e=function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0?setTimeout(a,i.checkInterval):i.onTimeout(),e.label=3;case 3:return[2]}}))},t=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,c,"next",e)}function c(e){s(i,r,o,a,c,"throw",e)}a(void 0)}))},function(){return t.apply(this,arguments)});a()}var p=n(2576),g=n(5088);function m(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,c,"next",e)}function c(e){m(i,r,o,a,c,"throw",e)}a(void 0)}))}}function y(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0}))}(e)?(u.c.info("".concat("connect: getConnectData found:"),{data:e}),t(e)):(a&&setTimeout((function(){return l("".concat("getConnectData: Missing expected connect data: "," ").concat(m.location.href))}),0),t()),[3,3];case 2:return n=r.sent(),setTimeout((function(){return l(n,0)})),t(),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),f(O,E,h),[2]}))})),function(e,n){return t.apply(this,arguments)}},O=n(8084),E=n.n(O),S=n(3908),C=n(1957),T=n(8392),w=n(3336),_=n(4920);function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=n(7248),A=n(7556),P=n(2044),N=n(8544),D=function(e){return e.reduce((function(e,t){return e.then((function(e){return t().then(Array.prototype.concat.bind(e))}))}),Promise.resolve([]))},R=n(1140);function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j,L="/api/digital",M=("".concat(L,"/cartinfo/v2/carts/current"),"".concat(L,"/cartinfo/v2/carts/current/packages"),"".concat(L,"/usr/session"),"".concat(L,"/cartinfo/v2/carts/current/summary"),"".concat(L,"/byod/v2/foreign-device/"),"/cart"),B=(k(j={},R.g.CHAT_CLICKED,{isEnabled:!0}),k(j,R.g.ENGINE_OPENED,{isEnabled:!0}),k(j,R.g.ENGINE_CLOSED,{isEnabled:!0}),k(j,R.g.ENGINE_SHOWN,{isEnabled:!0}),k(j,R.g.ENGINE_HIDDEN,{isEnabled:!0}),k(j,R.g.ENGINE_OPENED_TAB,{isEnabled:!0}),k(j,R.g.ENGINE_OPENED_INPAGE,{isEnabled:!0}),k(j,R.g.ENGINE_OPENED_LAUNCHPAD,{isEnabled:!0}),k(j,R.g.ADD_TO_CART_RESULT,{isEnabled:!0}),k(j,R.g.ANSWERED_QUESTION,{isEnabled:!0,allowedQuestionsIds:["how_many_lines","category_question","phone_usage","q-telco_general-monthly_budget-slider","hd_upsell","q-plan-hotspot_used_frequency-slider","travel_upsell","general_upsell","hd_and_hotspot_upsell","netflix_upsell","q_premium_data_radio","which_brand_are_you_going_for","q-phone-feature_importance-slider_multi","screen_size"]}),k(j,R.g.RECOMMENDATION,{isEnabled:!0}),k(j,R.g.EXIT_SCREEN,{isEnabled:!0}),k(j,R.g.HOT_TREATED,{isEnabled:!0}),k(j,R.g.HOT_CONTROL,{isEnabled:!0}),k(j,R.g.RUNNING_SPLIT_TESTS,{isEnabled:!0,testsToTrack:["uplift"]}),j),U=(n(7392),n(2550)),H=n(5996),G=n(7176),F=n(5048),W=n(1616),K=n(700),z=n(7216);function V(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){V(i,r,o,a,c,"next",e)}function c(e){V(i,r,o,a,c,"throw",e)}a(void 0)}))}}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e){for(var t=1;t0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&void 0!==arguments[0]?arguments[0]:{},r=n.handsetBasketParams,o=void 0===r?{}:r;return X({},(null===(e=(0,F.c)(n.devicePaymentPlans))||void 0===e?void 0:e.basketParams)||(null===(t=n.handsetBasketParams)||void 0===t?void 0:t.paymentOption)||{},o)},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=((0,F.c)(e.tariffs||[])||{}).basketParams;return void 0===t?{}:t},re=function(e){return!!(((0,c.get)(window,"location")||{}).href||"").match(e)},oe=function(){return re(/(plans)/)},ie=function(){return!0},ae=function(e){var t=de()||{};return re(/(\/cell-phone\/)/)?X({pagePropId:le(),pageProdId:null,pagePropName:se(e)},t):oe()?X({pagePropId:ue(),pageProdId:null,pagePropName:null},t):X({},t)},ce=function(){var e=(0,c.get)(window,"digitalData.cart.productList",[]),t=(0,c.get)(window,"digitalData.cart.product",[]);return t.length>0?t.map((function(e){return e.productInfo})):e},le=function(){var e,t=((0,z.c)()||{}).sku,n=(0,c.get)(window,"digitalData.product.0",{}),r=n.id,o=(null===(e=n.productInfo)||void 0===e?void 0:e.id)||r||null;return t||o},ue=function(){var e,t=ce().filter((function(e){var t,n,r;return(null===(t=e)||void 0===t?void 0:t.id)&&(null===(r=e)||void 0===r||null===(n=r.subType)||void 0===n?void 0:n.match(/CELLPHONES/))}));return(null===(e=1===t.length&&t[0]||null)||void 0===e?void 0:e.id)||null},se=function(e){var t=(0,c.get)(e,"digitalData",{}),n=(0,c.get)(t,"page.pageInfo.pageName",null),r=document.querySelector(".manufacturer"),o=document.querySelector("#pdp-header"),i=document.querySelector(".color-option.selected"),a=document.querySelector(".memory-option.selected"),l=r&&r.textContent?r.textContent.replace(/\s/g,""):"",u=o&&o.textContent||"",s=u?" ".concat(u):"",d=i&&i.querySelector("img"),f=d&&d.title?" ".concat(d.title):"",p=a&&a.textContent?a.textContent.replace(/\s/g,""):"",g=p?" ".concat(p):"";return n?"".concat(l).concat(s).concat(g).concat(f):null},de=function(){var e=be()||{};return{creditCheckComplete:e.hasOwnProperty("scc")&&e.scc?1:0}},fe=function(){var e,t;return q(e={},H.c.CHAT_ACTIVE,(t=document.querySelector(".lp_maximized"),!!document.getElementById("lpChat")&&!!(0,K.c)(t))),q(e,H.c.IS_MULTILINE,!!oe()&&ce().filter((function(e){var t,n,r;return(null===(t=e)||void 0===t?void 0:t.id)&&(null===(r=e)||void 0===r||null===(n=r.subType)||void 0===n?void 0:n.match(/CELLPHONES|SIMCARDS/))})).length>1),e},pe=function(){var e=Y((function(){var e;return $(this,(function(t){return e={name:"RSASSA-PKCS1-v1_5",modulusLength:2048,publicExponent:new Uint8Array([1,0,1]),hash:{name:"SHA-256"}},[2,(window.crypto||window.msCrypto).subtle.generateKey(e,!0,["sign","verify"])]}))}));return function(){return e.apply(this,arguments)}}(),ge=function(){var e=Y((function(e){var t;return $(this,(function(n){switch(n.label){case 0:return[4,me(e)];case 1:return t=n.sent(),[2,{url:"/self-service-shop/v1/oauth",method:"POST",data:JSON.stringify({jwk:JSON.stringify(t)}),headers:{accept:"application/json","content-type":"application/json"}}]}}))}));return function(t){return e.apply(this,arguments)}}(),me=function(){var e=Y((function(e){var t;return $(this,(function(n){switch(n.label){case 0:return[4,(window.crypto||window.msCrypto).subtle.exportKey("jwk",e)];case 1:return[2,{kty:(t=n.sent()).kty,e:t.e,alg:t.alg,n:t.n,kid:(0,U.c)().toString().replace(/-/g,"")}]}}))}));return function(t){return e.apply(this,arguments)}}(),be=function(){var e=(0,W.c)("tmobglobalshareddata");if(!e)return{};var t=decodeURIComponent(e);return JSON.parse(t)},ye=function(){var e=Y((function(e){return $(this,(function(t){return[2,"Bearer ".concat(e)]}))}));return function(t){return e.apply(this,arguments)}}(),ve=function(){var e=Y((function(e,t,n,r){return $(this,(function(o){switch(o.label){case 0:return[4,ye(n)];case 1:return[2,{method:"POST",url:"/self-service-shop/v1/cart/update-services-and-plan",headers:{accept:"application/json",authorization:o.sent(),"content-type":"application/json","accept-language":"en-GB,en;q=0.9"},data:X({cartId:t,lineId:e},r)}]}}))}));return function(t,n,r,o){return e.apply(this,arguments)}}(),he=function(){var e=Y((function(e,t,n){return $(this,(function(r){switch(r.label){case 0:return[4,ye(t)];case 1:return[2,{method:"POST",url:"/self-service-shop/v1/cart/plan",headers:{accept:"application/json",authorization:r.sent(),"content-type":"application/json","accept-language":"en-GB,en;q=0.9"},data:Q(X({},n),{cartId:e})}]}}))}));return function(t,n,r){return e.apply(this,arguments)}}();function Oe(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Ee(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Oe(i,r,o,a,c,"next",e)}function c(e){Oe(i,r,o,a,c,"throw",e)}a(void 0)}))}}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(e){for(var t=1;t0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{(t.target||document.head).prepend(e)},Et.domAPI=st(),Et.insertStyleElement=gt(),vt.use=function(e){return Et.options=e||{},Ot++||(ht=lt()(yt.c,Et)),vt},vt.unuse=function(){Ot>0&&! --Ot&&(ht(),ht=null)};var St=vt;function Ct(){var e,t,n=(e=["\n p {\n margin-top: 0;\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Ct=function(){return n},n}var Tt,wt=(0,xe.css)(Ct()),_t=n(9336),It=n(8808),xt=n(7832);function At(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Pt(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){At(i,r,o,a,c,"next",e)}function c(e){At(i,r,o,a,c,"throw",e)}a(void 0)}))}}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dt(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&void 0!==arguments[0]?arguments[0]:0;return function(){var i=ue();return oe()&&!i&&e<5?setTimeout(r(e+1),1e3):n(o.getState(),t)}},r()()})),Nt(Tt,l.YJ.PRE_PROCESS_READY,(function(e,t){t()})),Nt(Tt,l.YJ.INIT_SESSION,(function(e,t){e.store.dispatch((0,T.YR)()),t()})),Nt(Tt,l.YJ.ENGINE_PROGRESS,(function(e,t){var n=e.dispatch,r=e.state.engine,o=void 0===r?{}:r,i=function(){var e;return function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},(0,w.UH)(l.Af.PARTNER_STATUS,e)))}({engine:o}),a=function(e){var t=e.clearJourneyStatus,n=void 0!==t&&t,r=e.dispatch,o=e.state,i=e.status,a=o.engine;if(JSON.stringify(a.partnerStatus)!==JSON.stringify(i)){var c=(0,_.OW)("partnerStatus"),l=JSON.stringify(i)!==JSON.stringify(c);return r((0,T.es)(i)),{restart:n&&l}}return{restart:!1}}({dispatch:n,status:i,state:{engine:o},clearJourneyStatus:!0}).restart;t(void 0!==a&&a)})),Nt(Tt,l.YJ.BEFORE_NEXT,h({getPageData:ae,getConnectPredicate:ie})),Nt(Tt,l.YJ.SEND_TO_CART,function(){var e=Pt((function(e,t,n){var r,o,i,l,s,d,f,p,g,m,b,y,v,h,O,E,S,C,T,w,I,P,N,R,k;return Dt(this,(function(j){switch(j.label){case 0:return r=e.isByod,o=e.isMultiline,i=e.isPlanOnly,l=e.result,s=e.savedRecommendations,d=(0,_.OW)(x.c.apiQuestionData)||{},f=d.serialNo,p=d.simID,[4,pe()];case 1:return g=j.sent(),[4,ge(g.publicKey)];case 2:return m=j.sent(),[4,a()(m)];case 3:b=j.sent(),y=b.data,v=y.accessToken,h=be(),O=h.cartId,j.label=4;case 4:return j.trys.push([4,15,,16]),[4,Z(O,v)];case 5:return E=j.sent(),[4,a()(E)];case 6:return S=j.sent().data,C=S.cart.lines,T=(0,A.I$)({result:l}),i&&!r?[3,11]:C&&C.length>0?[4,ee(O,C,v)]:[3,9];case 7:return w=j.sent(),[4,D(w.map((function(e){return function(){return a()(e)}})))];case 8:j.sent(),j.label=9;case 9:return I=o?(0,c.get)(l,"productData.recommendation"):[T],P=function(){var e=Pt((function(e,t,r){var i,d,g,m,b,y,v,h,E,C,w,_,I=arguments;return Dt(this,(function(x){switch(x.label){case 0:i=I.length>3&&void 0!==I[3]?I[3]:3,x.label=1;case 1:return x.trys.push([1,10,,14]),[4,we({accessToken:e,cartId:O,rec:te(t)})];case 2:if(d=x.sent(),g=d.data.cart,!(m=(0,c.get)(S,["errors.ecommApiErrorList","0","message"],"")))return[3,3];throw new Error("SEND_TO_CART: ".concat(m));case 3:return u.c.info("Sending to cart",{type:"http",category:"xhr",data:{result:l,serialNo:f,simID:p,savedRecommendations:s,isMultiline:o}}),O||function(e){var t=Q(X({},be()),{cartId:e}),n=encodeURIComponent(JSON.stringify(t)),r=new Date;r.setDate(r.getDate()+1),document.cookie="".concat("tmobglobalshareddata","=").concat(n,";expires=").concat(r,";Secure;domain=.t-mobile.com;path=/")}(O=g.cartId),b=g.lines,y=b[r],v=y.id,h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{offerIdsToAdd:(0,G.c)(e.insurancePlans).map((function(e){return e.partnerPropertyId}))}}(t),h&&h.offerIdsToAdd.length>0?[4,ve(v,O,e,h)]:[3,6];case 4:return E=x.sent(),[4,a()(E)];case 5:x.sent(),x.label=6;case 6:return C=ne(T),[4,he(O,e,C)];case 7:return w=x.sent(),[4,a()(w)];case 8:x.sent(),x.label=9;case 9:return[3,14];case 10:return _=x.sent(),i>0?(u.c.warn("Failed to add to cart: ".concat(_.message,". Retrying (").concat(i," retries left)...")),[4,P(e,t,r,i-1)]):[3,12];case 11:return x.sent(),[3,13];case 12:u.c.error("Failed to add to cart after multiple retries: ".concat(_.message)),n(_),x.label=13;case 13:return[3,14];case 14:return[2]}}))}));return function(t,n,r){return e.apply(this,arguments)}}(),[4,D(I.map((function(e,t){return function(){return P(v,e,t)}})))];case 10:return j.sent(),window.location.assign(M),t(),[3,14];case 11:return N=ne(T),[4,he(O,v,N)];case 12:return R=j.sent(),[4,a()(R)];case 13:j.sent(),window.location.assign(M),t(),j.label=14;case 14:return[3,16];case 15:return k=j.sent(),n(k),[3,16];case 16:return[2]}}))}));return function(t,n,r){return e.apply(this,arguments)}}()),Nt(Tt,l.YJ.ENGINE_OPENED,(function(e,t){window._qsie=window._qsie||[],window._qsie.push("15gifts"),t()})),Nt(Tt,l.YJ.CHAT_ENGAGEMENT,(function(e,t,n){var r=e.bubbleType,o=e.chatConfig,i=e.isControl,a=e.isEngineLoaded,c=e.isEngineOpen,l=e.lineNumber,u=e.questionNumber,s=e.recStep,d=e.recommendationScreenType;if(i)return!1;try{return(0,N.e2)({chatConfig:o,eventDetails:{bubbleType:r,isLoaded:a,isOpen:c,lineNumber:l,questionNumber:u,recStep:s,recommendationScreenType:d}}),t(),!0}catch(e){return n(e),!1}})),Nt(Tt,l.YJ.POLL,(function(e,t){var n=e.browser,r=void 0===n?{}:n,o=e.chat,i=void 0===o?{}:o,a=e.config,c=void 0===a?{}:a,l=e.device,u=void 0===l?{}:l,s=e.dispatch,d=e.engine,f=void 0===d?{}:d,p=f.completedNextRequests,g=f.pageData;if(p>0){var m=de()||{};g&&g.hasOwnProperty("creditCheckComplete")&&m.creditCheckComplete!==g.creditCheckComplete&&s((0,T.E$)(m))}(0,P.es)(function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},J=$.breakpoints,Z=J.medium,ee={isRenderChat:!0,containerId:{default:"15gifts_lp_button"},integration:_e.I9.LIVE_PERSON,livePerson:{sectionOverrides:{CLOSED:{FIRSTQUESTION:{id:"15giftsClose"},QUESTIONJOURNEY:{id:"15giftsClose"},EXISTINGCUSTOMER:{id:"15giftsClose"},RECOMMENDATION:{id:"15giftsClose"},PROTECTION:{id:"15giftsClose"}},OPENED:{FIRSTQUESTION:{id:"15giftsQuestionJourney"},EXISTINGCUSTOMER:{enabled:!1},RECOMMENDATION:{id:"15giftsResult"},PROTECTION:{id:"15giftsResult"},AWARENESS:{enabled:!1},FEEDBACK:{enabled:!1}},LOADED:{enabled:!1}},sdes:{getChatPayload:function(e){var t=e.activeRec,n=e.browser,r=e.recommendationScreenType,o=e.result,i=e.savedRecommendations,a=o.productData,c=(void 0===a?{}:a).recommendation,l=(0,A.ox)({result:o,browser:n}),s=function(e,n){var r=function(e,t){var n=e.devicePaymentPlan,r=e.devicePaymentPlans,o=e.handsetBasketParams,i=(void 0===o?{}:o).sku,a=e.handsetName,c=void 0===a?"":a,u=e.insurance,s=void 0===u?{}:u,d=e.insurancePlans,f=void 0===d?[]:d,p=e.tariffs,g=void 0===p?[]:p,m=(0,F.c)(r)||{},b=(0,F.c)(g)||{},y=f.length>0?(0,F.c)(f):s,v=!Number.isNaN(t)&&l&&l[t]||[],h=b.prices;return{devicePaymentPlan:n||m,currentInsurance:y,currentTariff:b,handsetName:c,prices:void 0===h?{}:h,sku:i,tabHeader:v}}(e,n),o=r.currentInsurance,i=r.currentTariff,a=r.devicePaymentPlan,c=r.handsetName,u=r.prices,s=r.sku,d=r.tabHeader,f=t.productId;return Ye({},d.label?{recommendation:d.label}:null,c?{device:c}:null,s?{deviceSku:s}:null,a.costUpfront||u.costUpfront?{deviceUpfrontCost:a.costUpfront||u.costUpfront}:null,a.offerMonthly||a.costMonthly?{deviceMonthlyCost:a.offerMonthly||a.costMonthly}:null,i.name?{plan:i.name}:null,u.costMonthlyTariff?{planMonthlyCost:u.costMonthlyTariff}:null,o.name?{insurance:o.name}:null,o.costMonthly?{insuranceMonthlyCost:o.costMonthly}:null,"".concat(f)==="".concat(a.productId)?{selected:!0}:null)},d=c.map((function(e,t){return s(e,t)})),f=Object.values(i).map((function(e){return s(e)}));return"multiline_device"===r?(u.c.log(Ye({currentRecommedation:Xe(d)},f.length&&{savedRecommendations:Xe(f)},(0,Ie.cp)(o)(gt))),Ye({currentRecommedation:Xe(d)},f.length&&{savedRecommendations:Xe(f)},(0,Ie.cp)(o)(gt))):(u.c.log(Ye({recommendation:Xe(d)},(0,Ie.cp)(o)(gt))),Ye({recommendation:Xe(d)},(0,Ie.cp)(o)(gt)))},getEventData:function(e){return e.profile.chatPayload}}}},te={base:{backgroundColor:$.colorLightest,color:$.colorBodyFont},ltr:Ve({},"@media (min-width: ".concat(Z,"px)"),{borderRightStyle:"none"})},ne={base:(e={margin:"0 auto",backgroundColor:"#F4F4F4"},Ve(e,"@media (min-width: ".concat(J.extraSmall,"px)"),{margin:"0 8.33333333% 42px"}),Ve(e,"@media (min-width: ".concat(J.medium,"px)"),{margin:"0 auto 50px"}),Ve(e,"::before",{content:'""',display:"block",width:"100%",height:55,backgroundColor:$.colorLightest}),e)},re={tabLabel:Ve({backgroundColor:$.colorBackgroundAccent,borderTopLeftRadius:0,borderTopRightRadius:0,color:$.colorBodyFontInverted,marginTop:10},"@media (min-width: ".concat(J.small,"px)"),{marginTop:12}),tabLabelActive:(t={color:$.colorBodyFont,marginTop:0},Ve(t,"@media (min-width: ".concat(J.small,"px)"),{marginTop:0}),Ve(t,"boxShadow","0px -11px 14px -13px rgba(0,0,0,0.20)"),t),tabHeader:Ve({color:$.colorBodyFontInverted,fontSize:$.fontSizeSmaller,lineHeight:"18px"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmall,lineHeight:"22px"}),tabHeaderActive:{boxShadow:"none",color:$.colorBodyFont},tabContent:{boxShadow:"none",borderTop:$.borderBase},labelText:qe(Ye({},Ze({paletteStyles:$})),Ve({color:"inherit"},"@media (min-width: ".concat(J.small,"px)"),{lineHeight:"20px"}))},oe={hideBYODImage:!0,useSwitchBundleAPI:!0,card:{showTick:{tariff:!0,protection:!0}},currencySymbol:"$",showDiscountApplied:!0,showFirstRecTariffName:!0,showFullPrice:!0,showRetailPrice:!1,tariffAccordionOpen:{desktop:{default:!0},mobile:{default:!0}},includeTariffLegal:!0,offerCopyKey:"title",subscriptionOfferCopyKey:"copy",showColorValueSelectBox:!0,showInsurancePriceLabel:!0,showBasketNoProtectionCta:!0,showOffersTooltip:!1,itemisedPlanInBasket:!1,showUpfrontStrikethrough:!0,showMonthlyStrikethrough:!0,hideMultiPlanDetails:!0,isBasketHideMultilineOffers:!1,isCostMonthlyTariff:!0,showMultilineCTAContinueButton:!0,isProtectionRequired:!0,isToggleProtection:!0,isMultipleProtection:!1,showCostMonthlySuffix:!0,showBasketTariffOffers:!0,hidePlanCentricPlanChange:!1,showMobileFixedTablet:!0,showCostMonthlyOnMultiline:!0,multilineIsTariffCostMonthlyTariff:!0,showNonCumlativeTotals:!0,includeSimCardCost:!0,showUpfrontBasketTotalCreditCopy:!0,multiLineMax:5,nextScreenSteps:[l.cn.PROTECTION],tariffCardButtonType:"none",showBasketInTab:!0,showBasketLegalText:!0,useFirstActivePlanName:!0,showMultilineNumberForDevice:!0,dontAddExtraPlanLine:!0,isPlanCentricPhoneChosenLayout:!0,isRenderChatButtonOutsideBasket:!0,hideNavigationBottomTablet:!0,showUpfront:!1,reversePricesOrder:!0,displayOriginalPriceAfter:!0,showHandsetMonthlyCostInPhoneSummary:!1,benefitAccordionOpen:!1,showDataFeaturesCard:!1,tariffBenefitsFeaturedStart:0,tariffBenefitsFeaturedEnd:3,featuresFromBenefits:!1,protectionStateSwitchShow:!0,protectionStateSwitchField:"regionalAvailability",showDeviceOfferModal:!0,showPaymentPlanOffers:!1,deviceOfferModalKey:"copy",showPlanCentricTariffsAccordion:!0,stickyBasket:!0,showMonthlyTariffOffer:!0,showMonthlyDeviceOriginal:!0,showPlanOnlyBasket:!0,showByodBasket:!0,useTariffCostMonthlyDeviceCharge:!0,excludeActiveTariffCostUpfrontOriginal:!0,externalLinkImgRegular:Ue,isCapitaliseVector:!0,showProtectionDeclineConfirmation:!0,protectionConfirmationName:"Protection<360>®",dismissableProtectionDeclineModal:!0},ie={base:(n={margin:"0 10px",paddingTop:32,overflow:"visible"},Ve(n,"@media (min-width: ".concat(J.small,"px)"),{margin:0,paddingTop:10}),Ve(n,"@media (min-width: ".concat(J.medium,"px)"),{display:"flex",width:"100%",margin:0,paddingTop:9}),n),tabContentWrapper:{contentContainer:{marginRight:55}}},ae={handsetName:Ve({fontFamily:$.fontFamilyPrimaryBold,fontSize:$.fontSizeLarge,lineHeight:"36px",marginTop:10},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeLargest,lineHeight:"50px"}),protectionStateSwitchContainer:{lineHeight:"20px"},protectionStateSwitch:{display:"inline-block",fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightBold,fontSize:$.fontSizeSmaller,lineHeight:"22px",marginBottom:0,textAlign:"left",cursor:"pointer",color:$.colorPrimary,backgroundColor:"transparent",border:"none",padding:0},handsetPrice:{wrapper:Ve({textAlign:"center",marginTop:17},"@media (min-width: ".concat(J.small,"px)"),{marginBottom:-10}),copy:{fontSize:$.fontSizeSmaller,lineHeight:"17px"}},resultWrapperBase:{backgroundColor:"white"},resultWrapperLeftBase:(r={paddingLeft:20,paddingRight:20,marginBottom:25},Ve(r,"@media(min-width: ".concat(J.small,"px)"),{paddingLeft:55,paddingRight:55}),Ve(r,"@media (min-width: ".concat(J.medium,"px)"),{paddingLeft:50,paddingRight:48}),r),resultWrapperLeftMedium:{paddingLeft:70,backgroundColor:$.colorLightest,minWidth:"100%",maxWidth:"100%",marginLeft:0,marginRight:0},resultWrapperLeftWide:{minWidth:"100%",maxWidth:"100%",marginLeft:0,marginRight:0},resultWrapperRightBase:(o={backgroundColor:$.colorLightest,margin:"0 3%"},Ve(o,"@media (min-width: ".concat(J.small,"px)"),{margin:"0 4%"}),Ve(o,"@media (min-width: ".concat(J.medium,"px)"),{width:300,marginTop:30,marginRight:0,marginLeft:0}),o),resultWrapperRightBaseMultiline:Ve({},"@media (min-width: ".concat(J.medium,"px)"),{marginTop:-18}),tabContentWrapper:{contentContainer:Ve({},"@media (min-width: ".concat(J.medium,"px)"),{marginRight:77,width:"100%"})},productDetailsCondensedContainer:Ve({marginTop:30},"@media (min-width: ".concat(J.medium,"px)"),{display:"flex",marginTop:55}),productDetailsCondensedLeftColumn:Ve({marginBottom:40},"@media (min-width: ".concat(J.medium,"px)"),{marginRight:55,marginBottom:0}),mainContentWrapper:(i={},Ve(i,"@media (min-width: ".concat(J.medium,"px)"),{display:"flex"}),Ve(i,"contentContainer",Ve({},"@media (min-width: ".concat(J.medium,"px)"),{marginRight:31})),i),protectionContentWrapper:(a={},Ve(a,"@media (min-width: ".concat(J.medium,"px)"),{display:"flex"}),Ve(a,"contentContainer",Ve({},"@media (min-width: ".concat(J.medium,"px)"),{marginRight:31})),a),protectionFooterText:{fontFamily:$.fontFamilyPrimary,fontSize:$.fontSizeSmallest,fontWeight:$.fontFamilyPrimaryBold,lineHeight:"18px",color:$.colorBodyFont,borderTop:$.borderBase,paddingTop:30,marginTop:19},rightContent:{container:{height:"100%"}},header:{"&&":qe(Ye({},tt({paletteStyles:$})),(c={fontSize:$.fontSizeLarge,lineHeight:"36px",padding:0,marginTop:13,marginBottom:32,marginLeft:0,marginRight:0},Ve(c,"@media (min-width: ".concat(J.small,"px)"),{marginTop:20,marginLeft:0,marginRight:0}),Ve(c,"@media (min-width: ".concat(J.medium,"px)"),{fontSize:$.fontSizeLargest,lineHeight:"52px",letterSpacing:"-0.4px",marginRight:200}),c))},headerSubCopy:{"&&":qe(Ye({},$e({paletteStyles:$}),et({paletteStyles:$})),Ve({fontSize:$.fontSizeSmall,lineHeight:"24px"},"@media (min-width: ".concat(J.medium,"px)"),{fontSize:$.fontSizeMedium,lineHeight:"28px"}))},headerClaimSubCopy:{"&&":qe(Ye({},$e({paletteStyles:$}),et({paletteStyles:$})),Ve({fontSize:$.fontSizeSmaller,lineHeight:"21px",marginTop:32,marginBottom:5},"@media (min-width: ".concat(J.medium,"px)"),{fontSize:$.fontSizeSmall,lineHeight:"24px",marginBottom:20}))},byodHeader:{padding:0},planOnlyHeader:{float:"none"},byodSubCopy:Ve({fontSize:$.fontSizeSmall,marginTop:32,marginBottom:-12,padding:0},"@media (min-width: ".concat(J.medium,"px)"),{fontSize:$.fontSizeMedium}),multilineSubCopy:{fontSize:$.fontSizeMedium,marginBottom:-10},byodAlternativeTariffsHeader:(s={marginTop:20,marginBottom:0},Ve(s,"@media (min-width: ".concat(J.large,"px)"),{marginBottom:0}),Ve(s,"@media (min-width: ".concat(J.medium,"px)"),{marginBottom:0}),s),contextInPage:{resultWrapperRightBase:{backgroundColor:$.colorInPageBackground}},contextOverlay:{rightContent:{base:{opacity:1}}},specLink:qe(Ye({},Qe({paletteStyles:$}),Je({paletteStyles:$})),(d={borderBottom:"none",borderTop:"none",marginTop:30,marginBottom:0,paddingBottom:32,paddingTop:0,order:7},Ve(d,"@media (min-width: ".concat(J.small,"px)"),{marginTop:25,paddingBottom:17}),Ve(d,"isOpen",{borderBottom:"none"}),d)),specLinkWrapperMobile:{order:5,marginTop:0,marginBottom:0},navLink:qe(Ye({},Qe({paletteStyles:$})),Ve({opacity:1,boxShadow:$.boxShadowGrey,borderBottom:$.borderGrey,paddingTop:12,paddingBottom:12,marginLeft:30,marginBottom:0,marginRight:30,marginTop:0,width:"auto",color:$.colorBodyFont,fontFamily:$.fontFamilyMedium,fontSize:$.fontSizeSmall,fontWeight:$.fontWeightBold,lineHeight:"24px",backgroundImage:"url(".concat(je,")"),backgroundSize:"19px",backgroundRepeat:"no-repeat",backgroundPosition:"0px 15px",paddingLeft:25,textDecoration:"none"},"@media (min-width: ".concat(J.small,"px)"),{display:"block",paddingTop:25,marginTop:25,marginLeft:30,marginBottom:25,marginRight:30,fontSize:$.fontSizeSmall,loneHeight:"22px"})),navLinkBack:{borderBottom:$.borderBase,borderTop:$.borderBase},navLinkStartAgain:{backgroundImage:"url(".concat(Fe,")"),backgroundSize:"19px",backgroundRepeat:"no-repeat",backgroundPosition:"0px 15px",paddingLeft:25,textDecoration:"none",borderBottom:$.borderBase},navLinkIcon:{display:"none"},navBackLinkIcon:{display:"none"},mobileNavLinksWrapper:{backgroundColor:$.colorLightest,width:"100%",paddingBottom:100,marginTop:40},selectedTariffVectorHeader:(f={fontSize:$.fontSizeSmall,lineHeight:"22px",fontFamily:$.fontFamilyPrimary,textAlign:"left",marginTop:35},Ve(f,"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeMedium,lineHeight:"26px",marginBottom:0}),Ve(f,"@media (min-width: ".concat(J.medium,"px)"),{marginBottom:20}),f),searchLoadingBasket:Ve({},"@media (min-width: ".concat($.breakpoints.small,"px)"),{top:"50%"}),alternativeTariffsHeader:(p={fontSize:$.fontSizeSmall,lineHeight:"22px",fontFamily:$.fontFamilyPrimary,textAlign:"left",marginTop:35},Ve(p,"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeMedium,lineHeight:"26px",marginBottom:0}),Ve(p,"@media (min-width: ".concat(J.medium,"px)"),{marginBottom:20}),p),tariffDescription:qe(Ye({},Ze({paletteStyles:$})),Ve({marginBottom:3},"@media (min-width: ".concat(J.small,"px)"),{lineHeight:"14px",marginBottom:10})),basketCtaContainer:{paddingLeft:0,paddingRight:0},protectionTermsContent:{h3:{fontFamily:$.fontFamilyPrimaryBold,marginBottom:35,marginTop:50},p:{marginBottom:25,fontSize:$.fontSizeSmaller},mediaQueries:{"(min-width: 768px)":{h3:{marginTop:30,marginBottom:20,paddingBottom:40},p:{fontSize:$.fontSizeSmall}}}},creditClass:{display:"block",marginBottom:20,fontSize:$.fontSizeSmallest},offerModalStyles:{display:"flex",flexDirection:"row",flexWrap:"wrap","._15gifts-offer-modal-image":Ve({marginTop:0,marginRight:40,display:"none",maxWidth:180},"@media (min-width: ".concat(J.medium,"px)"),{display:"block"}),"._15gifts-offer-modal-body":{flex:1},"._15gifts-offer-modal-legal":{flex:"1 1 100%",marginTop:30},img:{maxWidth:"100%",maxHeight:"247px"},h5:{fontFamily:$.fontFamilyPrimaryUltra,fontSize:14,fontWeight:700,lineHeight:"20px",marginTop:0},h2:Ve({fontFamily:$.fontFamilyPrimaryUltra,fontSize:32,lineHeight:"36px",letterSpacing:"-0.32px",marginTop:16,marginBottom:25},"@media (min-width: ".concat(J.small,"px)"),{fontSize:48,lineHeight:"52px",letterSpacing:"-0.22px"}),ol:{listStyleType:"none",counterReset:"item",padding:0,li:(g={display:"block",margin:"0 0 24px 41px",fontFamily:$.fontFamilyPrimary,fontWeight:500,fontSize:14,letterSpacing:"0.5px",lineHeight:"22px"},Ve(g,"@media (min-width: ".concat(J.small,"px)"),{margin:"0 0 24px 53px",fontSize:16,letterSpacing:0,lineHeight:"24px"}),Ve(g,":before",Ve({content:'counter(item) " "',counterIncrement:"item",fontFamily:$.fontFamilyPrimaryUltra,fontWeight:700,background:$.colorPrimary,color:$.colorLightest,display:"inline-block",borderRadius:"100%",height:26,width:26,textAlign:"center",marginRight:12,marginLeft:-41,fontSize:19,lineHeight:"26px",transform:"translateY(5px)"},"@media (min-width: ".concat(J.small,"px)"),{height:29,width:29,fontSize:20,lineHeight:"29px",marginRight:22,marginLeft:-51})),Ve(g,"p",{marginTop:0}),g)},p:(m={fontSize:16,lineHeight:"24px",fontFamily:$.fontFamilyPrimary,fontWeight:500,marginTop:20,letterSpacing:"0.5px"},Ve(m,"@media (min-width: ".concat(J.small,"px)"),{fontSize:16,lineHeight:"24px",letterSpacing:0}),Ve(m,"a",Ve({textDecoration:"none",fontFamily:$.fontFamilyPrimary,fontSize:14,lineHeight:"22px",fontWeight:500,color:$.colorPrimary,border:"none",letterSpacing:"0.5px"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:16,lineHeight:"24px",letterSpacing:0})),m),br:{display:"block",margin:"10px 0",content:"''"}},modalAddMoreLines:{"> div":Ve({width:"auto",minWidth:"380px",height:"unset",transform:"translate(-50%, -50%)",padding:"24px"},"@media (min-width: ".concat(J.small,"px)"),{width:"720px",padding:"32px"}),header:{"&&":Ve({fontSize:25,lineHeight:"27px",textAlign:"left",paddingTop:35,marginBottom:0},"@media (min-width: ".concat(J.small,"px)"),{fontSize:48,lineHeight:"52px"})},p:Ve({paddingTop:16,paddingBottom:32,lineHeight:"22px",textAlign:"left",fontSize:14,fontWeight:500,color:"#000"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:16,lineHeight:"24px",paddingTop:24})},deviceConnectionChargeModalStyles:(b={display:"flex",flexDirection:"row",flexWrap:"wrap",marginBottom:20},Ve(b,"@media (min-width: ".concat(J.small,"px)"),{marginBottom:0}),Ve(b,"a",{color:$.colorPrimary,textDecoration:"none"}),Ve(b,"p",Ve({fontSize:14,lineHeight:"22px",fontFamily:$.fontFamilyPrimary,fontWeight:500,letterSpacing:0},"@media (min-width: ".concat(J.small,"px)"),{fontSize:16,lineHeight:"24px",letterSpacing:0})),Ve(b,"ul",{fontWeight:$.fontWeightBold,li:Ve({fontSize:14,lineHeight:"22px"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:16,lineHeight:"24px"})}),b),modalHeader:{"&&":(y={color:$.colorBodyFont,fontFamily:$.fontFamilyPrimaryUltra,fontSize:$.fontSizeLarge,fontWeight:$.fontWeightUltra,letterSpacing:"-0.32px",lineHeight:"36px",marginBottom:25},Ve(y,"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeLargest,letterSpacing:-.4,lineHeight:"52px"}),Ve(y,"@media (min-width: ".concat(J.medium,"px)"),{marginBottom:10}),y)},modalContent:Ve({color:$.colorBodyFont,fontFamily:$.fontFamilyPrimary,fontSize:$.fontSizeSmaller,fontWeight:$.fontWeightBold,letterSpacing:.5,lineHeight:"22px",marginBottom:32},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmall,letterSpacing:0,lineHeight:"24px"}),modalButtonsContainer:Ve({display:"flex",flexDirection:"column-reverse",justifyContent:"flex-start"},"@media (min-width: ".concat(J.small,"px)"),{flexDirection:"row",justifyContent:"flex-end"}),modalProtectionDeclineButtonsContainer:Ve({marginTop:"24px",marginBottom:"24px",gap:20},"@media (min-width: ".concat(J.small,"px)"),{flexDirection:"row-reverse",justifyContent:"space-around",gap:20}),insuranceConfirmationModalSubheader:{fontSize:26,fontWeight:400,marginBottom:25},insuranceConfirmationModalWarningContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:$.colorSecondary,padding:12,marginBottom:12,borderLeft:"3px solid ".concat($.colorPrimary)},insuranceConfirmationModalWarningImgContainer:Ve({display:"inline-block",width:"50px",img:{maxHeight:"67px"}},"@media (min-width: ".concat(J.small,"px)"),{paddingLeft:12,width:"calc(10% - 4px)"}),insuranceConfirmationModalWarningCopy:Ve({display:"inline-block",width:"calc(100% - 54px)"},"@media (min-width: ".concat(J.small,"px)"),{width:"calc(90% - 4px)"}),insuranceConfirmationModalWarningCopyHeader:{fontSize:22,fontWeight:700,lineGeight:"28px",letterSpacing:0,textAlign:"left",color:$.colorPrimary,paddingBottom:3},insuranceConfirmationModalWarningCopyBody:{fontSize:20,fontWeight:400,lineHeight:"21px",letterSpacing:0,textAlign:"left"},insuranceConfirmationModalWarningCopyFooter:{fontSize:10,fontWeight:400,lineHeight:"14px",letterSpacing:0,textAlign:"left",marginTop:10},insuranceConfirmationModalCopyContainer:{fontSize:16,fontWeight:500,lineHeight:"22px",letterSpacing:"-0.25px",textAlign:"left",marginBottom:32,div:{paddingBottom:12},a:{cursor:"pointer",display:"inline",textDecoration:"underline",textDecorationThickness:"from-font",textUnderlineOffset:"0.1em",color:$.colorPrimary}},insuranceConfirmationModalTable:{fontWeight:"700",fontSize:14,height:"108px",width:"100%",borderCollapse:"collapse",tbody:{tr:{height:18,td:{width:"33.3333%",height:18,padding:10,backgroundColor:$.colorLightest}}}},insuranceConfirmationModalTextLegal:{paddingTop:20,fontSize:12,lineHeight:"18px"}},ce={base:Ye({},$e({paletteStyles:$})),basketBlock:{boxShadow:"0px 1px 5px 0px rgba(0, 0, 0, 0.16), 0px 1px 0px 0px rgba(0, 0, 0, 0.02)",paddingRight:24,paddingLeft:24,contextInPage:{backgroundColor:$.colorInPageBackground}},basketBlockFixed:Ve({clipPath:"inset(0px -3px -5px -3px)",paddingBottom:26},"@media (min-width: ".concat(J.medium,"px)"),{top:69}),scrollButtonContainer:{marginTop:0,paddingTop:0},scrollButton:{backgroundImage:"url(".concat(We,")"),backgroundPosition:"79px 28px",backgroundRepeat:"no-repeat",backgroundSize:"19px 19px",borderRadius:0,boxShadow:"0px 1px 5px 0px rgba(0, 0, 0, 0.16), 0px 1px 0px 0px rgba(0, 0, 0, 0.02), 0px 0px 0px 5px ".concat($.colorBasket),clipPath:"inset(0px -3px 0px -3px)",color:$.colorPrimary,fontFamily:$.fontFamilyPrimary,fontSize:16,fontWeight:$.fontWeightBold,height:70,lineHeight:"18px",paddingTop:14,"&:after":{borderBottom:"1px solid ".concat($.colorBorderBasket),content:'""',left:24,position:"absolute",right:24,top:69}},multiLineBasketCostContainer:{marginTop:0,paddingRight:0,paddingLeft:0,borderTop:$.borderBase},plansBasketCostContainer:{borderTop:"none",marginTop:13},basketLegalText:{borderTop:$.borderLight,borderRight:$.borderLight,borderBottom:$.borderLight,borderLeft:"3px solid ".concat($.colorPrimary),fontSize:$.fontSizeSmallest,fontWeight:$.fontWeightBold,padding:10,display:"flex",marginBottom:24,icon:{flex:1,maxWidth:14,marginTop:1,backgroundImage:"url(".concat(Be,")"),backgroundRepeat:"no-repeat",backgroundPosition:"0px 0px",backgroundSize:"14px 14px",height:14,width:14,marginRight:8},text:{flex:1}}},le={base:{backgroundColor:$.colorBackgroundAccent,fontFamily:$.fontFamilyPrimaryBold,width:19,height:19,fontSize:$.fontSizeSmallest,lineHeight:"20px"}},ue=qe(Ye({},$e({paletteStyles:$})),Ve({paddingTop:29,paddingRight:0,paddingBottom:0,paddingLeft:0},"@media (min-width: ".concat(J.medium,"px)"),{paddingTop:29})),se={contextTariffVector:{base:Ve({flexDirection:"row"},"@media (min-width: ".concat(J.small,"px)"),{marginBottom:10}),left:{flexDirection:"row"},copy:qe(Ye({},Je({paletteStyles:$})),{fontSize:$.fontSizeSmaller,lineHeight:"20px",textAlign:"left"}),svgSetting:{mobileHeight:17,mobileWidth:6,height:17,width:6},svgImg:Ve({alignItems:"center",alignSelf:"start",backgroundColor:$.colorBackgroundStrokeIcon,borderRadius:8,flexDirection:"row",height:16,justifyContent:"left",marginRight:6,marginTop:5,minWidth:16,padding:0,stroke:$.colorStrokeIcon,strokeWidth:5,textAlign:"center",width:16},"@media (min-width: ".concat(J.small,"px)"),{marginTop:2})}},de={contextTariffs:{base:{width:"100%"},vectorLiTextOnly:Ve({marginBottom:15},"@media (min-width: ".concat(J.small,"px)"),{marginBottom:10})}},fe={ranges:[{min:0,max:2e3+l.UF.DATA_ROUNDING_VALUE,copy:"2GB"},{min:2e3,max:1/0,copy:"Unlimited"}]},pe={chatButton:"Have questions?",smartBudgetTitle:"Helpful tip:",specHideLabel:"Hide phone specs",specShowLabel:"Show phone specs",colourSelectLabel:"Color",capacitySelectLabel:"Storage",costMonthlySuffix:"/mo.",resultBasketPlanTitle:"Wireless plan",fullPriceCopy:"Full Price:",phoneSummaryHeader:{default:"Device"},planToggleCta:{multiline_individual_tariffs:"",multiline_shared_tariffs:""},resultSubheader:{default:function(){return""},simo:function(){return""},multiline_device:function(){return"We'll look at plans once you've chosen a phone for each line."},multiline_shared_tariffs:function(){return""}},resultBasketCtaBuy:{default:"Continue",goToQuestionJourney:"Yes, add another",goToMultilinePlanResultScreen:"No, I've added all my lines",addMoreLinesCTA:"Continue",planonly:"Add to cart",multiline_device:"Finish and review plan",byod:"Continue"},resultBasketCtaNextScreen:{default:"Continue"},resultBasketCtaNoProtection:"Continue without protection",resultBasketCtaPreorder:"Pre-Order",resultCostMonthlySuffix:"/mo.",resultBasketPlanCostLabel:"/mo.",resultPhoneSummaryCostMonthlyLabel:"/mo.",resultPhoneSummaryCostUpfrontLabel:" due today",resultPhoneSummaryDevicePaymentLabel:"Device payment plan",resultPhoneSummaryProtectionHeader:"Protection",resultBasketPlanAltHeader:"Wireless plan",devicePlanLabel:"Payment plan",basketTotal:{default:"Your total",planonly:"Your plan total"},basketTotalPayInFullCopy:"with AutoPay.",basketTotalCreditCopy:function(){return"for ".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""," mos.")},basketTotalMultiline:function(){return"Your total for Line ".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")},basketTotalMultilinePlans:function(){return"Your plan total for ".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""," lines")},resultCostUpfrontLabel:{default:function(){return"due today + tax"}},resultCostMonthlyLabel:{default:function(){return"/mo."},tariff:function(){return""}},protectionHeaderCopy:{default:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").deviceName;return"And how would you like to protect your new ".concat(void 0===e?"":e,"?")},byod:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).deviceName;return"And how would you like to protect your ".concat(void 0===e?"":e,"?")}},bubbleButtonSubmitFeedback:"OK",bubbleButtonCtaSecondary:{engagement:"Not Now"},bubbleHeaderEngagementNotNow:"",bubbleHeaderMobileEngagementNotNow:"",bubbleBodyEngagementNotNow:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).viewType;return"OK, hit the ".concat(void 0===e?"":e," if you need help later")},bubbleBodyMobileEngagementNotNow:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).viewType;return"OK, hit the ".concat(void 0===e?"":e," if you need help later")},phoneSummaryDeviceUpfrontLabel:" due today",protectionStateSwitchToggleOnCaption:"New York resident? Click here to see your insurance options",protectionStateSwitchToggleOffCaption:"Not a New York resident? Click here",protectionCostMonthlyLabelCopy:"Per month + tax",protectionModalCancelCopy:"OK",dataCalculatorPrefix:"Based on your usage we recommend:",dataCalculatorSuffix:" Data",savedRecText:"Your results",creditClass:{default:"Pricing for well-qualified customers.","Building Credit":"Pricing for building credit customers.","Good Credit":"Pricing for well-qualified customers.",tooltip:"Your final device financing agreement will be determined via a credit check at the checkout."},sendToCartLoading:{heading:"Adding to the cart",subHeading:"If you’re trading in, look out for the ‘Trade in my old device’ link in the cart"},resultTariffHeader:{default:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},paymchosen:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},paympartchosen:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},paym:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},phone_not_chosen:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},phone_part_chosen:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},phone_chosen:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},byod:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},upfront_smart_budget_lowered:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).phoneName;return"Your best matching plan for the ".concat(void 0===e?"":e,":")},multiline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.planName,n=void 0===t?"":t,r=e.requestedLineCount,o=void 0===r?"":r;return"Our ".concat(n," plan is a great match for your ").concat(o," lines. Here’s why:")},planonly:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).planName;return"Our ".concat(void 0===e?"":e," plan looks ideal for you. Here's why:")}},resultHeader:{default:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).deviceName;return"People with your answers choose the ".concat(void 0===e?"":e,".")},paym:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).deviceName;return"People with your answers choose the ".concat(void 0===e?"":e,".")},paymchosen:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.deviceName,n=void 0===t?"":t,r=e.planName;return"Our ".concat(void 0===r?"":r," plan is perfect with your ").concat(n,".")},paympartchosen:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).deviceName;return"The ".concat(void 0===e?"":e," is a great match for you! Here's why...")},simo:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).planName;return"People with your answers choose ".concat(void 0===e?"":e,".")},phone_not_chosen:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).deviceName;return"People with your answers choose the ".concat(void 0===e?"":e,".")},phone_part_chosen:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).deviceName;return"The ".concat(void 0===e?"":e," is a great match for you! Here's why...")},phone_chosen:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.deviceName,n=void 0===t?"":t,r=e.planName;return"Our ".concat(void 0===r?"":r," plan is perfect with your ").concat(n,".")},byod:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).planName;return"Our ".concat(void 0===e?"":e," plan is ideal for you. Here’s why:")},upfront_smart_budget_lowered:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).deviceName;return"The ".concat(e," is a great phone, meets your requirements and is more affordable.")},multiline_shared_tariffs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.lineCount,n=void 0===t?"":t,r=e.planName;return"Our ".concat(void 0===r?"":r," plan is a great match for your ").concat(n," lines. Here’s why:")},planonly:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).planName;return"Our ".concat(void 0===e?"":e," plan looks ideal for you. Here's why:")}},resultClaimSubheader:"T-Mobile plans offer wireless plus streaming for less than AT&T and Verizon",resultTariffAccordionMoreButtonText:{default:"Alternative plans"},resultTariffAccordionLessButtonText:{default:"Alternative plans"},resultAddLine:"Continue to add another line",resultExitHeader:{default:"Welcome back! Looking to add a line or upgrade?"},resultExitText:{default:["To use your existing Sprint SIM, please continue to our Bring your own device page.","Alternatively, go back a step and add a new universal SIM for free."],existing_customer_exit:["Log in to your account to see our deals for existing customers."]},resultExitBtn:{default:"Use my existing SIM",existing_customer_exit:"Log in"},resultExitSecondaryBtn:{default:"Back a step"},productDetailsCondensedAccordionOpen:"Hide phone options",productDetailsCondensedAccordionClosed:"Edit phone options",benefitAccordionButtonOpen:{subscription:"See fewer features"},benefitAccordionButtonClosed:{subscription:"See all features"},navBtnStartAgain:"Start over",bubbleHeader:{welcome:"Welcome back.",feedback:"Thanks.",awareness:"Thanks."},bubbleBody:{awareness:"We've saved your results over here in case you need them.",welcome:"We've saved your results over here in case you need them."},protectionSubheaderCopy:{default:function(e){return"Most people who buy the ".concat(e," choose to protect it against loss or damage.")},byod:function(){return"Most people choose to protect their phones against loss or damage."}},mobileBasketHeading:"Your total",multilineCostMonthlyLabel:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.lineCount,n=void 0===t?"":t,r=e.suffix,o=void 0===r?"":r,i=e.value,a=void 0===i?"":i;return"".concat(n," phone lines: $").concat(a).concat(o," per line")},deviceConnectionChargeLabel:"",deviceConnectionChargeValue:"Limited-time: $10 Device Connection Charge when you activate a new line, online",deviceConnectionChargeModal:{template:function(){return(0,xe.jsx)("div",null,(0,xe.jsx)("strong",null,"What is the Device Connection Charge?"),(0,xe.jsx)("p",null,"The Device Connection Charge is a one-time $10-per-line charge for connecting a new device to the network when activating or upgrading with T-Mobile."),(0,xe.jsx)("strong",null,"As a T-Mobile Customer, here’s what you get:"),(0,xe.jsx)("p",null,"When activating or upgrading with T-Mobile, you receive free 2 day shipping, personalized setup and support of your equipment or line of service, and a physical SIM card, if required."))},ctaCancel:"Close"},startAgainModal:{default:{title:"Are you sure?",subcopy:"You'll lose your answers and devices for all lines",ctaRestart:"Restart all lines"}},protectionDeclineModal:{template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.partnerCopy,n=void 0===t?{}:t,r=e.styles;return function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).styles,t=void 0===e?{}:e;return(0,xe.jsx)("div",null,(0,xe.jsx)("div",{css:t.insuranceConfirmationModalSubheader},(0,xe.jsx)("b",null,"Protection <360>®")," covers loss, theft, accidental damage, and hardware service issues."),(0,xe.jsx)("div",{css:t.insuranceConfirmationModalWarningContainer},(0,xe.jsx)("div",{css:t.insuranceConfirmationModalWarningImgContainer},(0,xe.jsx)("img",{src:Ae,alt:""})),(0,xe.jsx)("div",{css:t.insuranceConfirmationModalWarningCopy},(0,xe.jsx)("div",{css:t.insuranceConfirmationModalWarningCopyHeader},"Did you know..."),(0,xe.jsx)("div",{css:t.insuranceConfirmationModalWarningCopyBody},"Two out of three T-Mobile customers have damaged, lost, or broken a device."),(0,xe.jsx)("div",{css:t.insuranceConfirmationModalWarningCopyFooter},"Source: Assurant wireless benchmarking research, July 2017"))),(0,xe.jsx)("div",{css:t.insuranceConfirmationModalCopyContainer},(0,xe.jsx)("div",null,(0,xe.jsx)("b",null,"Protection <360>®")," gives you peace of mind by protecting your device against these common occurances. Without it, you may have to pay full price for a new device. If you change your mind, you’ll have 30 days from the device purchase, lease or finance to enroll, subject to a Visual Mechanical Inspection."),(0,xe.jsx)("div",null,"For complete details, including benefits, exclusions, limitations and costs,"," ",(0,xe.jsx)("a",{href:"https://mytmoclaim.com/terms",target:"_blank",rel:"noreferrer"},"Learn more here"))),(0,xe.jsx)("table",{css:t.insuranceConfirmationModalTable,border:"1"},(0,xe.jsx)("tbody",null,(0,xe.jsx)("tr",null,(0,xe.jsx)("td",{"aria-label":"Empty Cell"}),(0,xe.jsx)("td",null,(0,xe.jsx)("span",{style:{color:"rgb(226, 0, 116)"}},"With Protection <360>®")),(0,xe.jsx)("td",null,(0,xe.jsx)("b",null,"No Protection"))),(0,xe.jsx)("tr",null,(0,xe.jsx)("td",null,(0,xe.jsx)("b",null,"Fast device replacement")),(0,xe.jsx)("td",null,(0,xe.jsx)("span",{style:{color:"black"}},"$10 - $249*")),(0,xe.jsx)("td",null,(0,xe.jsx)("b",null,"Full retail cost"))),(0,xe.jsx)("tr",null,(0,xe.jsx)("td",null,(0,xe.jsx)("b",null,"Screen protector replacements")),(0,xe.jsx)("td",null,(0,xe.jsx)("span",{style:{color:"black"}},"Unlimited and free")),(0,xe.jsx)("td",null,"Up to $50/each")),(0,xe.jsx)("tr",null,(0,xe.jsx)("td",null,(0,xe.jsx)("b",null,"Mobile security with ID protection")),(0,xe.jsx)("td",null,(0,xe.jsx)("span",{style:{color:"black"}},"Included")),(0,xe.jsx)("td",null,"Up to $21/mo.*")),(0,xe.jsx)("tr",null,(0,xe.jsx)("td",null,(0,xe.jsx)("b",null,"Tech support")),(0,xe.jsx)("td",null,(0,xe.jsx)("span",{style:{color:"black"}},"Included")),(0,xe.jsx)("td",null,"Up to $10/mo.**")))),(0,xe.jsx)("div",{css:t.insuranceConfirmationModalTextLegal},"* Subject to a service fee/deductible of up to $499, based on device tier and type of loss.",(0,xe.jsx)("br",null)," ** Based on estimated non-promotional average industry monthly pricing. Subject to change."))}({partnerCopy:n,styles:void 0===r?{}:r})},header:function(){return"Are you sure?"},ctaCancel:"I don't want protection",ctaConfirm:"Add Protection<360>®"},resultTariffLegalTaxIncluded:"With $5 AutoPay discount & elig. payment method. Taxes and fees included.",resultTariffLegalTaxExcluded:"With $5 AutoPay discount & elig. payment method. Plus taxes and fees.",resultPlanTermsAndConditions:{template:function(e){return function(e){var t=e.showModal,n="See our full Phone Plan terms here";return(0,xe.jsx)("p",null,(0,xe.jsx)("button",{onClick:function(){return t(l.m4.TERMS_AND_CONDITIONS,{ariaLabel:n,html:'
\n

\n Essentials: Credit approval, deposit, and, in stores & on customer service calls, $35 device connection charge due at sale. Monthly Regulatory Programs (RPF) & Telco Recovery Fee (TRF) totaling $3.49 per voice line ($0.50 for RPF & $2.99 for TRF) and $1.40 per data only line ($0.12 for RPF & $1.28 for TRF) applies; taxes/fees approx. 4-38% of bill. Capable device required for some features. Not combinable with certain offers. Switching plans may cause you to lose current plan/feature benefits; ask a rep for details. Max 6 lines. Plan not available for hotspots and some other data-first devices. Unlimited talk & text\n features for direct communications between 2 people; others (e.g., conference & chat lines, etc.) may cost extra. Some messages, including those over 1MB, use data and may be unavailable internationally. Roaming:\n U.S. roaming and on-network data allotments differ: includes 200MB roaming. High-speed data is US only; in Canada/Mexico, unlimited at up to 128kbps; additional purchase required for data elsewhere. Calls from Simple Global countries, including over Wi-Fi, are $.25/min. (no charge for Wi-Fi calls to US, Mexico and Canada). Service may be terminated or restricted for excessive roaming. Not for extended international use; you must reside in the U.S. and primary usage must occur on our U.S. network. Device must register on our U.S. network before international use. Video streams\n at up to 2.5Mbps (SD). Optimization may affect speed of video downloads; does not apply to video uploads. For best performance, leave any video streaming applications at their default automatic resolution setting. Tethering\n at max 3G speeds. For customers using >50GB/mo., primary data usage must be on smartphone or tablet. Smartphone/tablet usage is prioritized over Mobile Hotspot (tethering) usage, which may result in higher speeds for data used on smartphones and tablets. AutoPay discount\n requires bank account or debit card, up to 6 lines, otherwise $5/mo per line. May not be reflected on 1st bill.

\n

Magenta:\n Credit approval, deposit, and, in stores & on customer service calls, $35 device connection charge due at sale. U.S. roaming and on-network data allotments differ: includes 200MB roaming. Unlimited talk & text features for direct communications between 2 people; others (e.g., conference & chat lines, etc.) may cost extra. Unlimited high-speed data US only. In Canada/Mexico, up to 5GB high-speed data then unlimited at up to 128kbps. Not available for hotspots and some other data-first devices. Video streams\n at up to 2.5Mbps (SD). Optimization may affect speed of video downloads; does not apply to video uploads. For best performance, leave any video streaming applications at their default automatic resolution setting. Netflix:\n Offer subject to change. Receive Netflix Basic (1-screen, up to $9.99/mo. value) while you maintain 2+ qual\'g Magenta lines in good standing. Alternative discount toward different Netflix streaming plans may apply. Not redeemable or refundable for cash. Cancel Netflix anytime. Netflix Terms of Use apply: www.netflix.com/termsofuse. 1 offer per T‑Mobile account; for existing Netflix members it may take 1-2 bill cycles during which time you will continue to be charged separately for any existing Netflix account. If you link an existing Netflix account to this offer, terminating the qualifying line(s) will not automatically cancel your Netflix membership, and Netflix will automatically resume charging your existing payment method that they have on file. See T‑Mobile.com/netflix for add\'l info. Like all plans, features may change or be discontinued at any time; see T‑Mobile Terms and Conditions at T‑Mobile.com for details. Tethering:\n 5GB high-speed data then unlimited on our network at max 3G speeds. For customers using >50GB/mo., primary data usage must be on smartphone or tablet. Smartphone usage is prioritized over Mobile Hotspot (tethering) usage, which may result in higher speeds for data used on smartphone. AutoPay discount\n requires bank account or debit card, up to 8 lines, otherwise $5/mo per line. May not be reflected on 1st bill. Int’l Roaming in Simple Global Destinations:\n Calls, including over Wi-Fi, are $.25/min. (no charge for Wi-Fi calls to US, Mexico and Canada). Up to 5GB high-speed data in select Central European countries; otherwise standard speeds approx. 256 Kbps. Not for extended international use; you must reside in the U.S. and primary usage must occur on our network.\n Device must register on our network before international use. Service may be terminated or restricted for excessive roaming. Coverage\n not available in some areas; we are not responsible for our partners’ networks. In-Flight Connection:\n On select flights on select U.S.-based airlines; Wi-Fi Calling functionality, valid e911 address, & 1 prior Wi-Fi call w/ current SIM card req\'d for messaging. Streaming where available. Stateside Int’l Talk:\n Calls must originate on T‑Mobile’s U.S. network or in Canada/Mexico. Rates and included countries vary and may change.

\n

Magenta MAX:\n Credit approval, deposit, and, in stores & on customer service calls, $35 device connection charge due at sale. U.S. roaming and on-network data allotments differ: includes 200MB roaming. Unlimited talk & text features for direct communications between 2 people; others (e.g., conference & chat lines, etc.) may cost extra. Unlimited high-speed data US only. In Canada/Mexico, up to 5GB high-speed data then unlimited at up to 256kbps. Not available for hotspots and some other data-first devices. Capable device required for some features. Activation required to deliver video streams at speeds that provide up to Ultra HD video\n capability (max 4K); some content providers may not stream their services in UHD. May affect speed of video downloads; does not apply to video uploads. Apple TV+:\n Offer subject to change. Receive Apple TV+ (up to $4.99/mo. value) while you maintain 1 qualifying Magenta Max line in good standing. Valid only for Apple TV+ in the United States. Complete registration with Apple in the Apple TV app; requires iTunes/Apple Media Services account. Terms and Apple Privacy Policy apply; see the applicable terms at https://www.apple.com/legal/internet-services/itunes/us/terms.html. Must be 13+. Only one offer per account; may take 1-2 bill cycles. Apple TV+ is a registered trademark of Apple Inc. Apple is not a sponsor of this promotion. Netflix:\n Offer subject to change. Receive Netflix Basic (1-screen, up to $9.99/mo. value) while you maintain 1 qualifying Magenta Max line in good standing or Netflix Standard (2-screen within a household, up to $15.49/mo. value) while you maintain 2+ qualifying lines in good standing. Alternative discount toward different Netflix streaming plans may apply. Not redeemable or refundable for cash. Cancel Netflix anytime. Netflix Terms of Use apply: www.netflix.com/termsofuse. 1 offer per T‑Mobile account; for existing Netflix members it may take 1-2 bill cycles during which time you will continue to be charged separately for any existing Netflix account. If you link an existing Netflix account to this offer, terminating the qualifying line(s) will not automatically cancel your Netflix membership, and Netflix will automatically resume charging your existing payment method that they have on file. See T‑Mobile.com/netflix for add\'l info. Like all plans, features may change or be discontinued at any time; see T‑Mobile Terms and Conditions at T‑Mobile.com for details. Tethering:\n 40GB high-speed data then unlimited on our network at max 3G speeds. Service may be terminated or restricted for excessive roaming. For customers using >50GB/mo., primary data usage must be on smartphone or tablet. Smartphone and tablet usage is prioritized over Mobile Hotspot Service (tethering) usage, which may result in higher speeds for data used on smartphones and tablets. AutoPay discount\n requires bank account or debit card, up to 8 lines, otherwise $5/mo per line.\n May not be reflected on 1st bill. Int’l Roaming in Simple Global Destinations:\n Calls, including over Wi-Fi, are $.25/min. (no charge for Wi-Fi calls to US, Mexico and Canada). Up to 5GB high-speed data, then unlimited at up to 256 Kbps. Not for extended international use; you must reside in the U.S. and primary usage must occur on our network.\n Device must register on our network before international use. Service may be terminated or restricted for excessive roaming. Coverage\n not available in some areas; we are not responsible for our partners’ networks. Scam Shield:\n Capable device req’d. Turning on Scam Block might block calls you want; disable any time. In-Flight Connection:\n On select flights on select U.S.-based airlines; Wi-Fi Calling functionality, valid e911 address, & 1 prior Wi-Fi call w/ current SIM card req\'d for messaging. Streaming where available. Stateside Int’l Talk:\n Calls must originate on T‑Mobile’s U.S. network or in Canada/Mexico. Rates and included countries vary and may change.

\n

Go5G: $35 device connection charge due at sale. Credit approval & deposit may be required. U.S. roaming and on-network data allotments differ: includes 200MB roaming. Unlimited talk & text features for direct communications between 2 people; others (e.g., conference & chat lines, etc.) may cost extra. Unlimited high-speed data US only. Not available for hotspots and some other data-first devices. Activation required to deliver video streams at speeds that provide up to *HD video\n capability (max 720p); some content providers may not stream their services in HD. May affect speed of video downloads; does not apply to video uploads.\n Netflix:\n Offer subject to change. Receive Netflix Basic (1-screen, up to $9.99/mo. value) while you maintain 2+ qual\'g Go5G lines in good standing. Alternative discount toward different Netflix streaming plans may apply. Not redeemable or refundable for cash. Cancel Netflix anytime. Netflix Terms of Use apply: www.netflix.com/termsofuse. 1 offer per T‑Mobile account; for existing Netflix members it may take 1-2 bill cycles during which time you will continue to be charged separately for any existing Netflix account. If you link an existing Netflix account to this offer, terminating the qualifying line(s) will not automatically cancel your Netflix membership, and Netflix will automatically resume charging your existing payment method that they have on file. See T‑Mobile.com/netflix for add\'l info. Like all plans, features may change or be discontinued at any time; see T‑Mobile Terms and Conditions at T‑Mobile.com for details. Tethering:\n 15GB high-speed data then unlimited on our network at max 3G speeds. For customers using >50GB/mo., primary data usage must be on smartphone or tablet. Smartphone usage is prioritized over Mobile Hotspot (tethering) usage, which may result in higher speeds for data used on smartphone. AutoPay\n discount\n ** requires bank account or debit card, up to 8 lines, otherwise $5/mo per line. May not be reflected on 1st bill. Int’l Roaming in Simple Global Destinations:\n Calls, including over Wi-Fi, are $.25/min. (no charge for Wi-Fi calls to US, Mexico and Canada). In Canada/Mexico, up to 10GB high-speed data then unlimited at up to 128kbps. Up to 5GB high-speed data in select Central European countries; otherwise, standard speeds approx. 256 Kbps. Video typically streams at up to 2.5 Mbps (SD), where available. Not for extended international use; you must reside in the U.S. and primary usage must occur on our network.\n Device must register on our network before international use. Service may be terminated or restricted for excessive roaming. Coverage\n not available in some areas; we are not responsible for our partners’ networks. In-Flight Connection:\n On select flights on select U.S.-based airlines; Wi-Fi Calling functionality, valid e911 address, & 1 prior Wi-Fi call w/ current SIM card req\'d for messaging. Streaming where available.

\n

Go5G Plus: $35 device connection charge due at sale. Credit approval & deposit may be required. U.S. roaming and on-network data allotments differ: includes 200MB roaming. Unlimited talk & text features for direct communications between 2 people; others (e.g., conference & chat lines, etc.) may cost extra. Unlimited high-speed data in US only. Not available for hotspots and some other data-first devices. Capable device required for some features. Activation required to deliver video streams at speeds that provide up to *Ultra HD video\n capability (max 4K); some content providers may not stream their services in UHD. May affect speed of video downloads; does not apply to video uploads. Apple TV+:\n Offer subject to change. Receive Apple TV+ (up to $4.99/mo. value) while you maintain 1 qualifying Go5G Plus line in good standing. Valid only for Apple TV+ in the United States. Complete registration with Apple in the Apple TV app; requires iTunes/Apple Media Services account. Terms and Apple Privacy Policy apply; see the applicable terms at https://www.apple.com/legal/internet-services/itunes/us/terms.html. Must be 13+. Only one offer per account; may take 1-2 bill cycles. Apple TV+ is a registered trademark of Apple Inc. Apple is not a sponsor of this promotion. Netflix:\n Offer subject to change. Receive Netflix Basic (1-screen, up to $9.99/mo. value) while you maintain 1 qualifying Go5G Plus line in good standing or Netflix Standard (2-screen within a household, up to $15.49/mo. value) while you maintain 2+ qualifying lines in good standing. Alternative discount toward different Netflix streaming plans may apply. Not redeemable or refundable for cash. Cancel Netflix anytime. Netflix Terms of Use apply: www.netflix.com/termsofuse. 1 offer per T‑Mobile account; for existing Netflix members it may take 1-2 bill cycles during which time you will continue to be charged separately for any existing Netflix account. If you link an existing Netflix account to this offer, terminating the qualifying line(s) will not automatically cancel your Netflix membership, and Netflix will automatically resume charging your existing payment method that they have on file. See T‑Mobile.com/netflix for add\'l info. Like all plans, features may change or be discontinued at any time; see T‑Mobile Terms and Conditions at T‑Mobile.com for details. Tethering:\n 50GB high-speed data then unlimited on our network at max 3G speeds. Service may be terminated or restricted for excessive roaming. For customers using >50GB/mo., primary data usage must be on smartphone or tablet. Smartphone and tablet usage is prioritized over Mobile Hotspot Service (tethering) usage, which may result in higher speeds for data used on smartphones and tablets. AutoPay discount\n requires bank account or debit card, up to 8 lines, otherwise $5/mo per line. May not be reflected on 1st bill. Int’l Roaming in Simple Global Destinations:\n Calls, including over Wi-Fi, are $.25/min. (no charge for Wi-Fi calls to US, Mexico, and Canada). In Canada/Mexico, up to 15GB high-speed data then unlimited at up to 256kbps. In Simple Global destinations, up to 5GB high-speed data, then unlimited at up to 256 Kbps. Video typically streams at up to 2.5 Mbps (SD), where available. Not for extended international use; you must reside in the U.S. and primary usage must occur on our network.\n Device must register on our network before international use. Service may be terminated or restricted for excessive roaming. Coverage\n not available in some areas; we are not responsible for our partners’ networks. Scam Shield:\n Capable device req’d. Turning on Scam Block might block calls you want; disable any time. In-Flight Connection:\n On select flights on select U.S.-based airlines; Wi-Fi Calling functionality, valid e911 address, & 1 prior Wi-Fi call w/ current SIM card req\'d for messaging. Streaming where available.

\n

Go5G Next General Terms:\n $35 device connection charge due at sale. Credit approval & deposit may be required. U.S. roaming and on-network data allotments differ: includes 200MB roaming. Unlimited talk & text features for direct communications between 2 people; others (e.g., conference & chat lines, etc.) may cost extra. Unlimited high-speed data in US only. Not available for hotspots and some other data-first devices. Capable device required for some features. Activation required to deliver video streams at speeds that provide up to Ultra HD video capability (max 4K); some content providers may not stream their services in UHD. May affect speed of video downloads; does not apply to video uploads. Upgrade-ready Every Year:\n Available only for qualifying new financed devices purchased on Go5G Next plan; existing devices are not eligible. Upgrade qualifying device after at least 6 months and when 50% of device cost has been paid. Trade-in device must be in good working order. You must be current with your scheduled financing and wireless service payments. Upgrading ends current financing and any device promotion or deposit reimbursement credits; trade-in satisfies early upgrade and not valued separately. Not combinable with some offers (e.g. JUMP). Tethering:\n 50GB high-speed data then unlimited on our network at max 3G speeds. Service may be terminated or restricted for excessive roaming. For customers using >50GB/mo., primary data usage must be on smartphone or tablet. Smartphone and tablet usage is prioritized over Mobile Hotspot Service (tethering) usage, which may result in higher speeds for data used on smartphones and tablets. AutoPay Pricing for voice lines 1-8. AutoPay discount requires bank account or debit card, otherwise $5 more/line/mo. May not be reflected on first bill. Int’l Roaming:\n Calls, including over Wi-Fi, are $.25/min. in 215+ countries and destinations (no charge for Wi-Fi calls to US, Mexico, and Canada). In Canada/Mexico, up to 15GB high-speed data then unlimited at up to 256kbps. In 215+ countries and destinations, up to 5GB high-speed data, then unlimited at up to 256 Kbps. Video typically streams at up to 2.5 Mbps (SD), where available. Not for extended international use; you must reside in the U.S. and primary usage must occur on our network. Device must register on our network before international use. Service may be terminated or restricted for excessive roaming. Apple TV:\n Offer subject to change. Receive Apple TV+ (up to $4.99/mo. value) while you maintain 1 qualifying Go5G Next line in good standing. Valid only for Apple TV+ in the United States. Complete registration with Apple in the Apple TV app; requires iTunes/Apple Media Services account. Terms and Apple Privacy Policy apply; see the applicable terms at https://www.apple.com/legal/internet-services/itunes/us/terms.html. Must be 13+. Only one offer per account; may take 1-2 bill cycles. Apple TV+ is a registered trademark of Apple Inc. Apple is not a sponsor of this promotion. Netflix:\n Offer subject to change. Receive Netflix Basic (1-screen, up to $9.99/mo. value) while you maintain 1 qualifying Go5G Next line in good standing or Netflix Standard (2-screens within a household, up to $15.49/mo. value) while you maintain 2+ qualifying lines in good standing. Alternative discount toward different Netflix streaming plans may apply. Not redeemable or refundable for cash. Cancel Netflix anytime. Netflix Terms of Use apply: www.netflix.com/termsofuse. 1 offer per T‑Mobile account; for existing Netflix members it may take 1-2 bill cycles during which time you will continue to be charged separately for any existing Netflix account. If you link an existing Netflix account to this offer, terminating the qualifying line(s) will not automatically cancel your Netflix membership, and Netflix will automatically resume charging your existing payment method that they have on file. See T‑Mobile.com/netflix for add\'l info. Like all plans, features may change or be discontinued at any time; see T‑Mobile Terms and Conditions at T‑Mobile.com for details. Coverage\n not available in some areas; we are not responsible for our partners’ networks. Scam Shield: Capable device req’d. Turning on Scam Block might block calls you want; disable any time. In-Flight Connection: On select flights on select U.S.-based airlines; Wi-Fi Calling functionality, valid e911 address, & 1 prior Wi-Fi call w/ current SIM card req\'d for messaging. Streaming where available.

\n
'})},type:"button"},n))}(e)}},fccLabels:{description:"Learn more about Broadband Facts and review our broadband consumer labels.",links:[{href:"https://www.t-mobile.com/content/digx/tmobile/us/en/landing-pages/broadband-facts/t-mobile-fcc-broadband-facts.html",copy:"View our Broadband Facts"}]}},ge={loadType:l.oJ.SPIN},me={introScreen:{base:(v={marginTop:"calc(50vh - 220px)"},Ve(v,"@media (min-width: ".concat(J.small,"px)"),{marginTop:"calc(50vh - 250px)"}),Ve(v,"@media (min-width: ".concat(J.medium,"px)"),{marginTop:"calc(50vh - 250px)"}),v),image:Ve({backgroundImage:"url(".concat(Ge,")"),minHeight:175},"@media (max-width: ".concat(J.small-1,"px)"),{minHeight:125}),header:{"&&":(h={fontFamily:$.fontFamilyPrimaryUltra},Ve(h,"@media (max-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeMedium,lineHeight:"30px"}),Ve(h,"@media (min-width: ".concat($.breakpoints.small,"px)"),{fontSize:$.fontSizeHeader,lineHeight:$.lineHeightHeader}),h)}},vectorScreen:{loadingSize:30,listItem:{paddingLeft:17,marginLeft:0},listItemText:Ve({fontWeight:$.fontWeightRegular},"@media (max-width: ".concat(J.small-1,"px)"),{fontSize:$.fontSizeSmaller,lineHeight:"20px"}),listItemLoadingComplete:{backgroundColor:"#FFF",border:"2px solid ".concat($.colorStrokeLoadingTick),width:30,height:30,backgroundSize:30},loadingTick:{stroke:$.colorStrokeLoadingTick,strokeWidth:2,transform:"translate(1px,1px)",height:13.6,width:17.7},loadingTickSvg:{top:6,left:4},firstListItem:{borderTopWidth:1},lastListItem:{borderBottomWidth:1},header:{"&&":Ve({fontFamily:$.fontFamilyPrimaryUltra,fontSize:$.fontSizeLarge,lineHeight:"36px",marginBottom:16},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeLargest,lineHeight:"52px",marginBottom:24})}},startAgainScreen:{header:{"&&":Ve({fontFamily:$.fontFamilyPrimaryBold,fontSize:$.fontSizeMobileHeader,lineHeight:"30px"},"@media (minWidth: ".concat($.breakpoints.small,"px)"),{fontSize:$.fontSizeHeader,lineHeight:$.lineHeightHeader})}}},be={default:Ve({fontSize:$.fontSizeSmall,lineHeight:"20px",transitionProperty:"all",transitionDuration:"0.15s",position:"relative",fontFamily:$.fontFamilyPrimary,color:"#000000",borderRadius:0,minHeight:48,textDecoration:"none",display:"block",textAlign:"center",fontWeight:$.fontWeightUltra,cursor:"pointer",paddingTop:0,paddingBottom:0},"@media (min-width: ".concat(J.small,"px)"),{paddingTop:13,paddingBottom:13}),disabled:{opacity:1,color:$.colorBackgroundDark,borderRadius:0,boxShadow:"none",backgroundColor:"#e8e8e8",":hover":{opacity:1,color:$.colorBackgroundDark,borderRadius:0,boxShadow:"none",backgroundColor:"#e8e8e8"}},buttonRolloverIcon:(O={backgroundRepeat:"no-repeat",backgroundPositionX:"70%",backgroundPositionY:"center",display:"block",width:"100%",height:"100%",opacity:0,position:"absolute",top:0,left:0,right:0,bottom:0,transition:"all .15s cubic-bezier(0.63,0.64,0.3,1)",fill:"white",stroke:"white"},Ve(O,"@media (min-width: ".concat(J.medium,"px)"),{backgroundImage:"url(".concat(Le,")")}),Ve(O,":hover",{backgroundPositionX:"85%",opacity:1}),O)},ye={default:Object.assign({},be.default,{border:"none",backgroundColor:$.colorPrimary,color:$.colorLightest,paddingLeft:42,paddingRight:42,":hover":{backgroundColor:$.colorPrimaryDark}}),disabled:Object.assign({},be.default,be.disabled),buttonRolloverIcon:Object.assign({},be.buttonRolloverIcon)},ve={default:Object.assign({},be.default,{border:"1px solid #262626",backgroundColor:$.colorLightest,color:$.colorBodyFont,paddingLeft:41,paddingRight:41,":hover":{backgroundColor:"#f8f8f8"}}),disabled:Object.assign({},be.default,be.disabled,{border:"none",paddingLeft:42,paddingRight:42}),buttonRolloverIcon:Object.assign({},be.buttonRolloverIcon)},he={contextEngineBottomNavNext:{default:Object.assign({},ye.default,Ve({borderWidth:0},"@media (min-width: ".concat(J.small,"px)"),{marginLeft:20})),disabled:Object.assign({},ye.default,ye.disabled),buttonRolloverIcon:Object.assign({},ye.buttonRolloverIcon)},contextEngineBottomNavBack:{default:Object.assign({},ve.default),disabled:Object.assign({},ve.default,ve.disabled),buttonRolloverIcon:Object.assign({},ve.buttonRolloverIcon,Ve({transform:"rotate(180deg)"},"@media (min-width: ".concat(J.medium,"px)"),{backgroundImage:"url(".concat(Re,")")}))},contextModalConfirmationPrimary:{default:qe(Ye({},ye.default),Ve({flex:1,order:1},"@media (min-width: ".concat(J.small,"px)"),{order:2,margin:"0 10px",maxWidth:"210px"}))},contextModalConfirmationSecondary:{default:qe(Ye({},ve.default),Ve({flex:1,order:2,marginTop:15},"@media (min-width: ".concat(J.small,"px)"),{order:1,margin:"0 10px",marginTop:0,maxWidth:"210px"}))},contextModalDeclinePrimary:{default:qe(Ye({},ye.default),{border:"none",borderWidth:0}),buttonRolloverIcon:Object.assign({},be.buttonRolloverIcon)},contextModalDeclineSecondary:{default:Ye({},ve.default),buttonRolloverIcon:Object.assign({},be.buttonRolloverIcon,Ve({},"@media (min-width: ".concat(J.medium,"px)"),{backgroundImage:"url(".concat(Re,")")}))},contextModalConfirm:{default:qe(Ye({},ye.default),Ve({marginTop:0},"@media (min-width: ".concat(J.small,"px)"),{marginTop:0,width:250}))},contextModalCancel:{default:qe(Ye({},ve.default),Ve({},"@media (min-width: ".concat(J.small,"px)"),{marginRight:20,marginTop:0,width:250}))},contextTopNavStartAgain:{default:{fontFamily:$.fontFamilyPrimary,fontSize:$.fontSizeSmall,fontWeight:$.fontWeightBold,color:$.colorBodyFont,backgroundImage:"url(".concat(Fe,")"),backgroundRepeat:"no-repeat",backgroundSize:"19px",backgroundPosition:"18px 5px"}},contextTopNavBack:{default:Ve({backgroundImage:"url(".concat(je,")"),backgroundSize:"19px",backgroundRepeat:"no-repeat",backgroundPosition:"18px 5.5px"},"@media (min-width: ".concat(J.small,"px)"),{fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightBold,fontSize:$.fontSizeSmall,color:$.colorBodyFont})},contextTopNavClose:{default:{marginRight:15.5,marginLeft:15.5,backgroundImage:"url(".concat(Me,")"),backgroundRepeat:"no-repeat",backgroundPosition:"-1px -1px",backgroundSize:"19px 19px",float:"right",height:19,width:19}},contextProtectionTerms:{default:{backgroundColor:"transparent",fontFamily:$.fontFamilyPrimaryBold,fontSize:$.fontSizeSmall,lineHeight:"22px",color:"#0669E8",paddingLeft:0,marginTop:15}},contextApiPrimaryButton:{default:qe(Ye({},ye.default),(E={width:"100%",paddingRight:10,paddingLeft:10,paddingTop:"1em",paddingBottom:"1em",marginTop:35,marginBottom:0},Ve(E,"@media (min-width: ".concat(J.small,"px)"),{width:168,minWidth:168,paddingRight:10,paddingLeft:10,marginBottom:0,marginTop:35}),Ve(E,"@media (min-width: ".concat(J.medium,"px)"),{width:236,minWidth:236,paddingLeft:45,paddingRight:45,marginTop:0}),E)),disabled:qe(Ye({},ye.default,ye.disabled),{backgroundColor:"#CECFCF",color:"#818181",opacity:1}),buttonRolloverIcon:Object.assign({},ye.buttonRolloverIcon)},contextApiSecondaryButton:{default:qe(Ye({},ve.default),(S={width:"100%",marginBottom:10,paddingRight:10,paddingLeft:10,paddingTop:"1em",paddingBottom:"1em",marginTop:35},Ve(S,"@media (min-width: ".concat(J.small,"px)"),{width:168,minWidth:168,paddingRight:10,paddingLeft:10,marginTop:35}),Ve(S,"@media (min-width: ".concat(J.medium,"px)"),{minWidth:236,maxWidth:236,paddingRight:45,paddingLeft:45,marginTop:0}),S)),disabled:Object.assign({},ve.default,ve.disabled),buttonRolloverIcon:Object.assign({},ye.buttonRolloverIcon)},contextModalClose:{default:Ye({},ye.default)},contextShieldReveal:{default:qe(Ye({},ye.default),{borderRadius:25,color:$.colorBodyFont,fontFamily:$.fontFamilyPrimary,fontSize:$.fontSizeSmall,lineHeight:0}),disabled:Ye({},ye.default,ye.disabled)}},Oe={color:$.colorPrimary,trailColor:"#e8e8e8"},Ee={base:{height:4,borderRadius:0,marginBottom:33},small:{height:4,borderRadius:0},copy:{fontFamily:$.fontFamilyPrimary,fontSize:$.fontSizeSmaller,fontWeight:$.fontWeightBold}},Se={defaultAnswer:Ve({minHeight:72,paddingTop:10,paddingRight:16,paddingBottom:10,paddingLeft:16,fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightBold,fontSize:$.fontSizeSmall,lineHeight:"20px",backgroundColor:$.colorLightest,borderRadius:0,border:"solid 2px #e8e8e8",transition:"all 0.5s ease",marginBottom:0,":hover":(C={},Ve(C,"@media not all and (hover: none)",{backgroundColor:"transparent",border:"solid 2px #d8d8d9"}),Ve(C,"backgroundColor","transparent"),C)},"@media (min-width: ".concat(J.small,"px)"),{minHeight:64}),defaultAnswerWrapper:{marginTop:"7.5px",marginBottom:"7.5px"},defaultHasImage:{height:72,":hover":Ve({},"@media not all and (hover: none)",{backgroundColor:"transparent"})},selected:{backgroundColor:"transparent",border:"solid 2px ".concat($.colorBorderActive),boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",color:$.colorBodyFont,":hover":Ve({},"@media not all and (hover: none)",{backgroundColor:"transparent",border:"solid 2px ".concat($.colorBorderActive),boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)"})},tick:{backgroundImage:"url(".concat(De,")"),opacity:0,position:"absolute",width:16,height:12,marginTop:0,top:"calc(50% - 6px)",bottom:0,right:0,left:"calc(50% - 8px)",transitionDelay:"0s",transitionDuration:".15s",backgroundRepeat:"no-repeat",backgroundSize:"16px 12px"},selectedTick:{opacity:1,transitionDelay:"0s",transitionDuration:".15s",transitionProperty:"opacity"},tickBackground:{width:24,height:24,borderRadius:2,border:"1px solid #9b9b9b",transitionProperty:"all",transitionDuration:".15s",transitionTimingFunction:"linear",backgroundColor:$.colorLightest,position:"relative",top:0,bottom:0,right:0,left:0,display:"block",marginRight:16},tickBackgroundRadio:{display:"none"},selectedTickBackground:{width:24,backgroundColor:$.colorPrimary,borderColor:$.colorPrimary},selectedTickBackgroundRadio:{display:"none"},selectedHasImage:{backgroundColor:"transparent",span:{color:"".concat($.colorBodyFont)}},answerInputFocus:{outline:"1px solid #BFBFC2"},handsetImage:(T={height:55},Ve(T,"@media (min-width: ".concat(J.small,"px)"),{height:55}),Ve(T,"@media (min-width: ".concat(J.medium,"px)"),{height:55}),T),contextInPage:{defaultAnswer:{":hover":{backgroundColor:$.colorLightest}},defaultHasImage:Ve({},"@media not all and (hover: none)",{":hover":{backgroundColor:$.colorLightest}}),selected:Ve({backgroundColor:$.colorLightest},"@media not all and (hover: none)",{":hover":{backgroundColor:$.colorLightest}}),selectedHasImage:{backgroundColor:$.colorLightest}}},Ce={base:(w={paddingBottom:35,paddingLeft:20,paddingRight:20},Ve(w,"@media and all (min-width: ".concat(J.small,"px)"),{paddingLeft:60,paddingRight:60,paddingBottom:65}),Ve(w,"@media and all (min-width: ".concat(J.medium,"px)"),{paddingLeft:0,paddingRight:0,paddingBottom:65}),w),questionTitle:{"&&":Ye({},tt({paletteStyles:$}))},questionDescription:{"&&":{fontFamily:$.fontFamilyPrimary,color:$.colorBodyFont,fontSize:$.fontSizeSmall,fontWeight:$.fontWeightBold,lineHeight:"24px",letterSpacing:"0px",marginTop:19,marginBottom:19}}},Te={container:Ve({backgroundColor:"#F4F4F4"},"@media (min-width: ".concat(J.small,"px)"),{paddingBottom:60}),labelInputWrapper:{base:Ve({width:"100%"},"@media (min-width: ".concat(J.small,"px)"),{width:"60%"})},label:{base:{fontFamily:$.fontFamilyPrimary}},input:(_={fontFamily:$.fontFamilyPrimary,fontSize:$.fontSizeSmaller,textAlign:"left"},Ve(_,"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmall,marginBottom:0}),Ve(_,":focus",{outline:"none"}),_),formContainer:Ve({},"@media (min-width: ".concat(J.small,"px)"),{display:"flex",alignItems:"flex-end",justifyContent:"space-between"}),errorContainer:Ve({},"@media (min-width: ".concat(J.small,"px)"),{display:"flex",alignItems:"flex-end",justifyContent:"space-between"}),errorMessageContentRules:{p:{lineHeight:"20px",fontFamily:$.fontFamilyPrimary,marginBottom:25},".error span":{fontSize:$.fontSizeSmall,fontFamily:$.fontFamilyPrimaryBold,color:"#D0021B",marginBottom:15},span:{fontSize:$.fontSizeSmaller,fontFamily:$.fontFamilyPrimary},a:{fontFamily:$.fontFamilyPrimaryBold},mediaQueries:{"(min-width: 768px)":{p:{marginBottom:15,fontSize:$.fontSizeSmall,width:"80%"},".error":{width:"135%",marginBottom:20},span:{display:"block",width:"80%",fontSize:$.fontSizeSmallest,lineHeight:"17px"}},"(min-width: 1024px)":{".error":{width:"100%"}}}}},we={tooltip:{backgroundColor:"#373737",color:$.colorLightest,top:"-12px",paddingLeft:20,paddingRight:20,dimensions:{width:100,height:56}},price:{fontSize:$.fontSizeMedium,lineHeight:"36px",fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightBold},minutesValue:{fontSize:$.fontSizeMedium,lineHeight:"30px",fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightBold},minutesLabel:{fontSize:$.fontSizeSmaller,fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightBold},directionalPointer:{width:12,height:12}},ze={base:{borderRadius:0,height:18},handle:{backgroundColor:$.colorSliderHandle,border:"1px solid #d8d8d9",boxShadow:"rgba(25, 25, 25, 0.32) 1px 1px 2px 0px",borderRadius:2},background:{borderRadius:0,backgroundColor:$.colorBackgroundLight,height:18},progress:{color:$.colorBackgroundLight,backgroundColor:$.colorPrimary,borderRadius:0,height:18,width:18},pit:{base:{backgroundColor:"#e8e8e8",height:15,border:"1px solid rgb(232, 232, 232)"},label:(I={marginTop:15,fontSize:$.fontSizeSmaller,lineHeight:"17px",minWidth:54,fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightBold},Ve(I,"@media (min-width: ".concat(J.small,"px)"),{width:100,fontSize:$.fontSizeSmall}),Ve(I,"@media (min-width: ".concat(J.medium,"px)"),{width:100}),I),firstLabel:{transform:"translateX(0)",position:"absolute",textAlign:"left",left:-15},lastLabel:{transform:"translateX(0)",position:"absolute",textAlign:"right",right:-15},altName:Ve({fontSize:$.fontSizeSmallest,lineHeight:"17px",width:45,display:"inline-block",position:"absolute",top:75,textAlign:"center",transform:"translateX(-50%)",left:0},"@media (min-width: ".concat(J.small,"px)"),{width:100,top:50}),contextDigits:{label:(x={},Ve(x,"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmallest,lineHeight:"17px"}),Ve(x,"@media (min-width: ".concat(J.medium,"px)"),{fontSize:$.fontSizeSmallest,lineHeight:"17px"}),x)}},contextInPage:{background:{backgroundColor:$.colorLightest}},contextHasImg:{slider:Ve({},"@media (min-width: ".concat($.breakpoints.small,"px)"),{width:"calc(100% - 60px)",marginLeft:60})}},nt={imgTitle:Ve({display:"flex",flexDirection:"row-reverse"},"@media (min-width: ".concat(J.small,"px)"),{display:"block"}),img:Ve({marginLeft:"auto",marginRight:10,marginTop:"-13px",minWidth:"auto",minHeight:"auto",maxWidth:49,maxHeight:49},"@media (min-width: ".concat(J.small,"px)"),{marginLeft:-5,marginRight:10,marginTop:0,top:"-15px"}),title:{"&&":Ve({fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightUltra,fontSize:$.fontSizeSmall,letterSpacing:0,lineHeight:"24px",marginBottom:70},"@media (min-width: ".concat(J.small,"px)"),{marginBottom:48,fontSize:20,lineHeight:"28px"})},firstWrapper:Ve({},"@media (min-width: ".concat(J.medium,"px)"),{marginTop:50}),wrapper:Ve({paddingBottom:105,paddingLeft:0,paddingRight:0},"@media (min-width: ".concat(J.medium,"px)"),{paddingTop:22}),singleSlider:(P={borderTop:$.borderBase,marginTop:30,paddingTop:120},Ve(P,"@media (min-width: ".concat($.breakpoints.extraSmall,"px)"),{marginTop:50,paddingTop:125}),Ve(P,"@media (min-width: ".concat($.breakpoints.small,"px)"),{marginTop:50,paddingTop:125}),P)},rt={base:Ve({borderTop:"1px solid #E2E2E2",borderLeft:"none",borderBottom:"none",borderRight:"none",fontFamily:$.fontFamilyPrimary,padding:"30px 20px 0"},"@media (max-width: ".concat(J.small,"px)"),{textAlign:"right"}),prefix:Ve({fontSize:$.fontSizeSmall},"@media (max-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmaller}),estimate:Ve({fontSize:$.fontSizeLarge,fontFamily:$.fontFamilyPrimaryBold},"@media (max-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeLarge})},ot={base:(N={lineHeight:"17px",color:$.colorBodyFont,backgroundColor:"transparent",paddingTop:0,paddingLeft:0,paddingRight:0,fontFamily:$.fontFamilyPrimaryMedium,fontSize:$.fontSizeSmaller,fontWeight:$.fontWeightBold,letterSpacing:"0.5px",maxWidth:250,marginLeft:0,top:102},Ve(N,"@media (min-width: ".concat(J.extraSmall,"px)"),{top:"-10px",marginLeft:15}),Ve(N,"@media (min-width: ".concat(J.small,"px)"),{top:"-16px",maxWidth:300}),N),directionalPointer:{display:"none"},arrow:{display:"none"},title:Ve({fontSize:$.fontSizeSmall,lineHeight:"24px",display:"block",color:$.colorBodyFont,fontFamily:$.fontFamilyPrimaryUltra,fontWeight:$.fontWeightUltra,marginBottom:5,letterSpacing:"0px"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeMedium,lineHeight:"28px",marginBottom:3}),solo:{base:{backgroundColor:"transparent",paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,color:$.colorBodyFont,maxWidth:"250px"},title:{color:$.colorBodyFont,fontFamily:$.fontFamilyPrimary}},withTooltip:{right:{base:Ve({right:-260},"@media (min-width: ".concat(J.small,"px)"),{top:"-16px"})},left:{base:Ve({left:-240},"@media (min-width: ".concat(J.small,"px)"),{top:"-16px"})},title:{}}},it={base:{backgroundColor:$.colorLightest,borderBottomColor:"#e8e8e8",width:"100%"},borderLeft:Ve({},"@media (min-width: ".concat(J.small,"px)"),{borderColor:"transparent",borderWidth:0}),borderRight:Ve({},"@media (min-width: ".concat(J.small,"px)"),{borderColor:"transparent",borderWidth:0}),startAgainIcon:{display:"none"},chevronLeft:{display:"none"},closeIcon:{display:"none"}},at={base:{marginBottom:32},header:{"&&":Ve({marginTop:0,borderTop:$.borderBase,paddingTop:15,marginBottom:17,color:$.colorBodyFont,fontFamily:$.fontFamilyPrimaryUltra,fontSize:$.fontSizeSmall,fontWeight:$.fontWeightUltra,lineHeight:"24px"},"@media (min-width: ".concat(J.small,"px)"),{borderTop:$.borderGrey,paddingTop:14,fontSize:$.fontSizeMedium,lineHeight:"28px"})},specsItem:{marginBottom:40,"&:last-child":{marginBottom:0}},item:{"&&":qe(Ye({},Ze({paletteStyles:$})),Ve({lineHeight:"18px",paddingTop:10,paddingLeft:10,paddingRight:10,paddingBottom:10,borderTop:"none"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmaller}))},itemOdd:{backgroundColor:"#f8f8f8"},name:{fontWeight:$.fontWeightUltra}},ct={base:{backgroundColor:$.colorPrimary,color:$.colorBodyFont,borderRightWidth:0,borderLeftWidth:0,borderColor:$.colorLightest,":hover":{backgroundColor:$.colorPrimaryDark}},text:Ve({fontFamily:$.fontFamilyPrimaryBold,fontSize:$.fontSizeSmaller,fontWeight:$.fontWeightBold,color:$.colorLightest},"@media (min-width: ".concat(J.small,"px)"),{fontFamily:$.fontFamilyPrimaryBold,fontSize:$.fontSizeSmall})},lt={base:{backgroundColor:"".concat($.colorPrimary,"D9"),color:$.colorBodyFont,borderColor:$.colorBorderCircle},textWrapper:{width:"75%"},text:{fontFamily:$.fontFamilyPrimaryBold,fontSize:$.fontSizeSmallest,lineHeight:"11px",textAlign:"center",fontWeight:$.fontWeightRegular}},ut={base:{boxShadow:"0px 5px 14px 0px rgba(25, 25, 25, 0.4)"},header:{"&&":Ve({fontFamily:$.fontFamilyPrimaryUltra,fontWeight:$.fontWeightUltra,fontSize:$.fontSizeMedium,lineHeight:"27px",marginTop:0,marginBottom:5,maxWidth:"85%"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeLarge,lineHeight:"34px",marginBottom:10,maxWidth:"100%",textTransform:"none"})},headerEngagement:{marginTop:0},inlineContainer:Ve({},"@media (min-width: ".concat(J.small,"px)"),{flexWrap:"wrap"}),subHeader:{"&&":Ve({fontSize:$.fontSizeSmaller,lineHeight:"17px",margin:"5px 15px 5px 0",padding:0,fontWeight:$.fontWeightBold},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmall,lineHeight:"24px",marginTop:0,marginBottom:0,marginRight:0,maxWidth:"100%"})},buttonBasic:qe(Ye({},ye.default),Ve({width:130,marginTop:20},"@media (min-width: ".concat(J.small,"px)"),{width:"auto"})),buttonContainer:{marginTop:15},buttonContainerEngagement:{flexDirection:"row-reverse",display:"flex"},buttonCtaPrimary:qe(Ye({},ye.default),(D={fontSize:$.fontSizeSmall,lineHeight:"22px",borderWidth:0,height:"auto",backgroundImage:"none",marginRight:0},Ve(D,"@media (max-width: ".concat(J.small-1,"px)"),{marginTop:0,width:"50%",paddingLeft:10,paddingRight:10,height:"40px",minHeight:"40px"}),Ve(D,"@media (min-width: ".concat(J.small,"px)"),{minWidth:100,paddingLeft:30,paddingRight:30,maxWidth:"unset",minHeight:"48px",lineHeight:"9px",width:"47%"}),Ve(D,"@media (min-width: ".concat(J.medium,"px)"),{paddingLeft:30,paddingRight:30}),D)),buttonCtaPrimaryEngagement:{marginRight:0},buttonCtaSecondary:qe(Ye({},ve.default),(R={fontSize:$.fontSizeSmall,lineHeight:"22px",height:"auto",backgroundColor:$.colorLightest,backgroundImage:"none"},Ve(R,"@media (max-width: ".concat(J.small-1,"px)"),{marginRight:22,width:"50%",paddingLeft:10,paddingRight:10,height:"40px",minHeight:"40px",marginTop:0}),Ve(R,"@media (min-width: ".concat(J.small,"px)"),{display:"flex",justifyContent:"center",alignItems:"center",minWidth:100,paddingLeft:30,paddingRight:30,maxWidth:"unset",lineHeight:"9px",minHeight:"48px",width:"47%"}),Ve(R,"@media (min-width: ".concat(J.medium,"px)"),{paddingLeft:30,paddingRight:30}),R)),textarea:Ve({boxShadow:"none",marginTop:5,marginBottom:10,height:130},"@media (min-width: ".concat(J.small,"px)"),{width:"100%",marginTop:15,marginBottom:0}),buttonSubmit:Ve({marginTop:10},"@media (max-width: ".concat(J.small,"px)"),{minHeight:40,height:40}),close:(k={top:13,right:13,backgroundColor:"transparent",height:20,width:20,minHeight:"auto"},Ve(k,"@media (min-width: ".concat(J.small,"px)"),{top:15,right:15,padding:0,display:"inline"}),Ve(k,":hover",{backgroundColor:"transparent"}),k),closeIcon:{fill:"none",stroke:"none",backgroundImage:"url(".concat(Me,")"),backgroundRepeat:"no-repeat",backgroundPosition:"0px 0px",backgroundSize:"19px 19px",display:"inline-block",float:"right",height:20,width:20,transition:".2s background-color linear"},closeWrapper:{textAlign:"right"}},st={base:(j={maxWidth:250,width:"auto",padding:14,boxShadow:"0px 5px 14px 0px rgba(25,25,25,0.40)",minHeight:120,display:"flex",flexDirection:"column",justifyContent:"center"},Ve(j,"@media (max-width: ".concat(J.small,"px)"),{minHeight:90}),Ve(j,"@media (min-width: ".concat(J.small,"px)"),{maxWidth:340,minWidth:340,padding:30}),j),buttonSubmit:{marginLeft:20,marginTop:10},directionalPointerLeft:{boxShadow:"rgba(0, 0, 0, 0.2) -3px 6px 5px -2px"},buttonContainer:Ve({},"@media (max-width: ".concat(J.small-1,"px)"),{marginTop:15})},dt={base:{paddingTop:16,paddingBottom:16,paddingLeft:20,paddingRight:20},buttonSubmit:Ve({},"@media (min-width: ".concat(J.small,"px)"),{marginRight:30})},ft={closeIcon:{fill:"none",stroke:"none",backgroundImage:"url(".concat(Me,")"),backgroundRepeat:"no-repeat",backgroundPosition:"0px 0px",backgroundSize:"19px 19px",display:"inline-block",float:"right",height:20,width:20,transition:".2s background-color linear"},close:{color:"transparent",top:16,right:16},base:{fontFamily:$.fontFamilyPrimaryUltra,fontWeight:$.fontWeightUltra,fontSize:48,lineHeight:52,letterSpacing:"-0.4px"},box:(L={maxWidth:721,maxHeight:542,overflowY:"auto",padding:"59px 24px 24px",left:"50%",transform:"translate(-50%, -50%)",top:"50%",width:"calc(100vw - 40px)"},Ve(L,"@media (min-width: ".concat(J.small,"px)"),{left:"50%",padding:"67px 32px 32px",top:"50%"}),Ve(L,"@media (min-width: ".concat(J.medium,"px)"),{left:"50%",top:"50%",width:721,maxHeight:444}),Ve(L,"@media (max-width: ".concat(J.small-1,"px)"),{}),L),contextOffer:{base:{pointerEvents:"none"},box:Ve({pointerEvents:"auto",maxWidth:920,maxHeight:"78vh",fontSize:$.fontSizeSmallest,lineHeight:"17px",fontWeight:$.fontWeightBold,a:{fontWeight:$.fontWeightUltra,color:$.colorLinksDark,":hover":{color:$.colorLinksDarkHover}}},"@media (min-width: ".concat(J.medium,"px)"),{left:"50%",top:"50%",width:920,maxHeight:"90vh"})},contextDeviceCharge:{base:{pointerEvents:"none"},box:Ve({maxWidth:720,pointerEvents:"auto"},"@media (max-width: ".concat(J.small,"px)"),{paddingTop:43})},contextMedium:{box:Ve({maxWidth:920,maxHeight:"78vh"},"@media (min-width: ".concat(J.medium,"px)"),{left:"50%",top:"50%",width:920,maxHeight:"90vh"})}},pt={heading:{"&&":Ve({fontFamily:$.fontFamilyPrimaryUltra,fontSize:$.fontSizeLargest,lineHeight:"52px",letterSpacing:"-0.4px",marginTop:40,marginBottom:24},"@media (max-width: ".concat(J.extraSmall,"px)"),{fontSize:$.fontSizeLarge,lineHeight:"36px",letterSpacing:"-0.32px"})},subheading:{"&&":Ve({fontFamily:$.fontFamilyPrimaryUltra,fontSize:$.fontSizeMedium,lineHeight:"28px"},"@media (max-width: ".concat(J.extraSmall,"px)"),{fontSize:$.fontSizeSmall,lineHeight:"24px"})},wrapper:{backgroundColor:"#FFF"},inner:(M={width:280},Ve(M,"@media (min-width: ".concat(J.small,"px)"),{width:450}),Ve(M,"@media (min-width: ".concat(J.medium,"px)"),{width:640}),M),children:{top:"auto",left:"auto",marginTop:"40px"}},gt={insertRetryInterval:3e3,isPassingPartnerStatusAsParam:!0,isPassingPartnerStatusField:"engine_text_id",showStartAgainModal:{default:!0,legacy:!0},ecidCookie:{name:"s_ecid",splitBy:"%7C"}},mt={base:{width:"100%"},modalBlock:{float:"none",borderBottom:0,paddingBottom:0,marginBottom:20,minHeight:"auto"},modalHeader:Ve({fontFamily:$.fontFamilyPrimaryUltra,fontWeight:$.fontWeightUltra,fontSize:$.fontSizeLarge,letterSpacing:"-0.32px",lineHeight:"36px",marginBottom:16},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeLargest,letterSpacing:"-0.4px",lineHeight:"52px"}),modalParagraph:(B={fontFamily:$.fontFamilyPrimary,fontWeight:$.fontWeightBold,fontSize:$.fontSizeSmaller,lineHeight:"22px",marginBottom:32},Ve(B,"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmall,lineHeight:"24px"}),Ve(B,"@media all",{maxWidth:"100%"}),B),modalButtonGroup:Ve({},"@media (min-width: ".concat(J.small,"px)"),{flexDirection:"row",justifyContent:"flex-end",margin:"0 -10px"}),progressContainer:(U={paddingLeft:"5%",paddingRight:"5%"},Ve(U,"@media (min-width: ".concat(J.small,"px)"),{paddingLeft:60,paddingRight:60}),Ve(U,"@media (min-width: ".concat(J.medium,"px)"),{paddingLeft:0,paddingRight:0}),U),buttonWrapper:Ve({width:"auto",marginTop:22,overflow:"visible"},"@media (min-width: ".concat(J.small,"px)"),{display:"flex",flexFlow:"row-reverse"}),questionAccordionCopy:{p:{fontSize:$.fontSizeSmallest,lineHeight:"17px"},"p.heading":{fontSize:$.fontSizeSmall,lineHeight:"22px",fontFamily:$.fontFamilyPrimaryBold},strong:{fontSize:$.fontSizeSmallest,lineHeight:"17px",fontFamily:$.fontFamilyPrimaryBold,fontWeight:$.fontWeightRegular}},accordionsWrapper:{borderBottom:$.borderBase,marginLeft:"5%",marginRight:"5%"}},bt={base:{borderTop:$.borderBase,borderBottom:$.borderBase,marginTop:52,paddingTop:30,paddingBottom:24},button:{color:$.colorLinks,fontSize:$.fontSizeSmall,paddingLeft:35,paddingBottom:10},buttonOpened:{backgroundImage:"url(".concat(Pe,")"),backgroundRepeat:"no-repeat",backgroundPosition:"0px 0px",backgroundSize:"18px 18px"},buttonClosed:{backgroundImage:"url(".concat(Ne,")"),backgroundRepeat:"no-repeat",backgroundPosition:"0px 0px",backgroundSize:"18px 18px"},content:{paddingTop:30,paddingBottom:30,paddingLeft:35},contextSpecs:{base:{borderTop:"none",borderBottom:"none",marginTop:0,paddingTop:0,paddingBottom:0}},contextTariffs:{base:{borderTop:"none",borderBottom:"none",marginTop:0,paddingTop:0,paddingBottom:0}},contextQuestion:{base:{marginTop:0,borderBottom:"none"}}},yt={isShowBackButton:{default:!0,existing_customer_exit:!1},btnUrl:{default:"javascript:void(0)",existing_customer_exit:"https://account.t-mobile.com/signin/v2/"},btnImgUrl:He,imgUrl:{default:Ke},voiceOver:{default:{copy:"Log in, link to new window",id:"log-in-voice-over"}}},vt={exitScreenWrapper:(H={display:"flex",flexDirection:"column",marginTop:76,textAlign:"center",padding:"0 60px"},Ve(H,"@media (min-width: ".concat(J.small,"px)"),{marginTop:311,padding:0,marginLeft:"auto",marginRight:"auto"}),Ve(H,"@media (min-width: ".concat(J.medium,"px)"),{maxWidth:570,margin:"182px auto 0 auto",padding:0}),H),img:(G={width:80,height:80,display:"inline-block",margin:"0px auto 44px"},Ve(G,"@media (min-width: ".concat(J.small,"px)"),{marginBottom:36}),Ve(G,"@media (min-width: ".concat(J.medium,"px)"),{width:80,height:80,margin:"0px auto 64px auto"}),G),ctaWrapper:{display:"flex",justifyContent:"center"},btnImg:{width:17},copyWrapper:(W={width:"100%"},Ve(W,"@media (min-width: ".concat(J.small,"px)"),{marginLeft:"auto"}),Ve(W,"@media (min-width: ".concat(J.medium,"px)"),{marginLeft:"auto",width:570}),W),header:{"&&":Ve({color:$.colorBodyFont,fontFamily:$.fontFamilyPrimaryUltra,fontSize:$.fontSizeSmall,fontWeight:$.fontWeightUltra,lineHeight:"24px",marginTop:0,marginBottom:13},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeLarge,lineHeight:"36px",marginTop:0,marginBottom:7})},text:{"&&":Ve({color:$.colorBodyFont,fontFamily:$.fontFamilyPrimary,fontSize:$.fontSizeSmaller,fontWeight:$.fontWeightBold,lineHeight:"22px",margin:"0 0 37px 0",maxWidth:268},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmall,lineHeight:"24px",margin:"0 auto 30px auto",maxWidth:"100%"})},link:qe(Ye({},ye.default),Ve({minHeight:48,lineHeight:"20px",display:"flex",width:150,alignItems:"center",justifyContent:"space-around",margin:"0 auto",padding:"13px 35px",fontSize:$.fontSizeSmall,":hover":{backgroundColor:$.colorLinksHover}},"@media (min-width: ".concat(J.medium,"px)"),{padding:"13px 35px",margin:0})),backButton:qe(Ye({},ve.default),(K={minHeight:40,lineHeight:"40px",minWidth:220,display:"block",margin:"121px auto 0",fontSize:$.fontSizeSmall,":hover":{backgroundColor:$.colorSecondary}},Ve(K,"@media (min-width: ".concat(J.small,"px)"),{padding:"10px 20px",marginTop:44}),Ve(K,"@media (min-width: ".concat(J.medium,"px)"),{padding:"10px 20px",marginTop:64,display:"inline-block"}),K))};return{answers:{showTextBrandType:!0},topNav:{height:50,startAgainIconHeight:16,startAgainIconWidth:16,chevronLeftWidth:14},topNavConfig:{hideBackLabelMobile:!1},topNavStyles:it,basketStyles:ce,copy:pe,chat:ee,poller:{isEnabled:!0},overlay:{direction:"ltr",initialPeek:!1,peekingOn:!1},overlayStyles:te,launcher:{mobileViewType:{default:"tab"},mobileTransitionType:{default:"push"},clickOutsideWhitelist:["ccpa-banner__toast"],mobileTabPosition:"Bottom"},launchpadStyles:{animationVar:{height:"auto"},base:{textAlign:"center",border:"none",margin:0,maxWidth:"none",backgroundColor:$.colorBackgroundLighter,height:"auto",paddingLeft:27,paddingRight:27},baseWrapper:(z={maxWidth:1275,width:"100%",padding:"26px 0 0",display:"flex",flexDirection:"column",alignItems:"flex-start"},Ve(z,"@media (min-width: ".concat(J.small,"px)"),{alignItems:"flex-start",padding:"21px 0 10px"}),Ve(z,"@media (min-width: ".concat(J.medium,"px)"),{position:"relative",padding:"21px 0 12px"}),z),copyWrapper:(V={marginLeft:0,order:1,maxWidth:350},Ve(V,"@media (min-width: ".concat(J.small,"px)"),{maxWidth:375}),Ve(V,"@media (min-width: ".concat(J.medium,"px)"),{maxWidth:375}),V),children:{textAlign:"center"},images:(Y={width:"100%",order:3,float:"none",alignSelf:"center",marginTop:"0.5%",position:"relative",clipPath:"inset(0px 15% 0px 0px)",left:"10%",top:"10%",transform:"scale(1.2)"},Ve(Y,"@media (min-width: ".concat(J.small,"px)"),{clipPath:"none",transform:"scale(0.7)",transformOrigin:"right",position:"absolute",marginTop:0,width:"auto",top:"auto",left:"auto",bottom:-132,right:-410}),Ve(Y,"@media (min-width: ".concat(J.medium,"px)"),{right:-310}),Ve(Y,"@media (min-width: ".concat(J.large,"px)"),{right:0}),Y),lpHeader:qe(Ye({},et({paletteStyles:$})),Ve({fontSize:20,lineHeight:"24px",letterSpacing:"0px",marginBottom:13,marginTop:0,textAlign:"left"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeLarge,lineHeight:"36px",letterSpacing:"0px",marginBottom:5})),lpCopy:qe(Ye({},$e({paletteStyles:$})),Ve({fontSize:$.fontSizeSmaller,lineHeight:"22px",letterSpacing:"0.5px",textAlign:"left",fontWeight:$.fontWeightBold,marginBottom:10},"@media (min-width: ".concat(J.small,"px)"),{fontSize:$.fontSizeSmall,lineHeight:"24px",letterSpacing:"0px",marginBottom:5})),link:qe(Ye({},et({paletteStyles:$})),Ve({fontSize:20,lineHeight:"24px",padding:"13px 20px 13px 0",color:$.colorBodyFont,textAlign:"left",order:2,backgroundImage:"url(".concat(ke,")"),backgroundRepeat:"no-repeat",backgroundPosition:"right center",backgroundSize:"7px 10px",border:"none",cursor:"pointer",backgroundColor:"#f2f2f2"},"@media (min-width: ".concat(J.small,"px)"),{fontSize:20,lineHeight:"24px"})),cell_phone_plans:{base:{borderTop:"2px solid ".concat($.colorLightest),borderBottom:"2px solid ".concat($.colorLightest)},images:(q={},Ve(q,"@media (min-width: ".concat(J.small,"px)"),{bottom:-137}),Ve(q,"@media (min-width: ".concat(J.medium,"px)"),{bottom:-125}),q)},deals_hub:{base:{borderTop:"4px solid ".concat($.colorLightest),borderBottom:"4px solid ".concat($.colorLightest)}},phone_gridwall_page:{base:Ve({margin:"10px 0"},"@media (min-width: ".concat(J.small,"px)"),{margin:"0 0 16px 0"}),copyWrapper:(X={},Ve(X,"@media (min-width: ".concat(J.small,"px)"),{maxWidth:315}),Ve(X,"@media (min-width: ".concat(J.medium,"px)"),{maxWidth:315}),X),images:(Q={},Ve(Q,"@media (min-width: ".concat(J.small,"px)"),{bottom:-137}),Ve(Q,"@media (min-width: 930px) and (max-width: ".concat(J.medium-1,"px)"),{right:0,left:"11%"}),Ve(Q,"@media (min-width: ".concat(J.medium,"px)"),{bottom:-125}),Q)}},loadingStyles:me,loading:ge,buttonStyles:he,progressBar:Oe,progressBarStyles:Ee,questionStyles:Ce,apiQuestionStyles:Te,answersStyles:Se,engagement:{isDisabledForInPage:!0,showMobileCloseButton:!1,showTabletCloseButton:!1,showDesktopCloseButton:!1,showMobileSecondaryCloseButton:!0,showTabletSecondaryCloseButton:!0,showDesktopSecondaryCloseButton:!0},bubble:{showMobileCloseButton:!0},bubbleStyles:ut,push:{bottomSettlePosition:0,pushPosition:"left",pushPositionValue:16,appearPosition:"bottom"},pull:{offsetTopMobile:44},circle:{height:40,width:80,borderRadius:34,borderWidth:1},circleStyles:lt,phoneSummaryStyles:ue,plan:{hidePlanLengthCard:!0},drawStyles:dt,inPageStyles:ne,popupStyles:st,result:oe,resultStyles:ae,resultTabsStyles:re,selectBox:{isMobileSelectStyled:!0},specsStyles:at,tabContentStyles:ie,tab:{textDirection:"btt",height:180,width:46,borderRadius:0,borderWidth:0,mobileBorderWidth:0,boxShadow:"0 0 24px 0 rgb(145, 145, 145, .5)",mobileBoxShadow:"0 0 24px 0 rgb(145, 145, 145, .5)",mobileHeight:{default:32},mobileWidth:{default:120},mobileTabDirection:{default:"horizontal"}},tabStyles:ct,textDescriptionStyles:se,vectorStyles:de,tooltip:{currencySymbol:"$",dimensions:{width:100,height:60}},tooltipStyles:we,slider:{handle:{width:26,height:26}},sliderStyles:ze,dataCalculator:fe,dataCalculatorStyles:rt,sliderAnswersStyles:nt,smartBudgetStyles:ot,resultCta:{defaultCart:!1,partnerCart:!0,resultCartCtaVariant:function(e){return e.getAddMoreLinesModalState?"secondary":"primary"},resultNextCtaVariant:"primary",hideCartBeforeScreen:!0,resultNextScreenType:{paym:!0,paymchosen:!0,paympartchosen:!0,byod:!0,multiline:!0,multiline_device:!0}},iconStyles:le,modalStyles:ft,engine:gt,engineStyles:mt,accordionStyles:bt,shield:{isShowShield:!0},shieldStyles:pt,vectors:{isShowFinalLoading:!0,showMultilineVectors:!0},exitScreen:yt,exitScreenStyles:vt}}}),globals:wt,splitTests:{config:function(e){var t,n,r,o,i=e.ownProps,a=void 0===i?{}:i,c=a.launchpadTextId,u=(a.paletteStyles||{}).breakpoints,s=void 0===u?{}:u;return r=at({},function(){var e;return ot(e={},l.C2.ENGINE,{"20210225_one_click_answers":{one_click_answers_on:{config:{answers:{isOneClickAnswerOn:!0}}}}}),ot(e,l.C2.ANSWERS,{"20210225_one_click_answers":{one_click_answers_on:{configAnswers:{isOneClickAnswerOn:!0}}}}),ot(e,l.C2.LOADING,{"202302_loading_screen_removal":{loading_screen_removed:{removeIntroLoadingScreen:!0}}}),e}()),it(n={},l.C2.LAUNCHPAD,at({},function(e){return"deals_hub"===e.launchpadTextId?{"20210329_deals_hub_launchpad":{test_perfect:{config:{copyLp:{headerCopyInit:"Find your perfect deal"}}}}}:{}}({breakpoints:s,launchpadTextId:c}))),it(n,l.C2.FIXED_BASKET,{"20210330_mobile_fixed_basket":{show:{isEnabled:!0},control:{isEnabled:!0}}}),it(n,l.C2.LAUNCHER,{"20221221_engage_design_test":{show:{copy:{bubbleButtonCtaPrimary:{engagement:function(){return window.screen.width div > span":{color:"#FFCEE7"}},text:{color:"#EC5FA1 "}}}}}}),o=null!=(o=n)?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))})),r}},events:B,theme:o(),logic:Rt}},8744:function(e,t,n){"use strict";n.d(t,{CM:function(){return Z},on:function(){return te}});var r=n(1504),o=n(8692),i=n(190),a=n(7104),c=n(908),l=n(8832),u=n(3868),s=n(3268),d=n.n(s),f=n(8348),p=n(939),g=n(5088),m=n(9432);function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=(0,r.lazy)((function(){return Promise.all([n.e(596),n.e(632)]).then(n.bind(n,3196))})),v=function(e){var t=e.container,n=e.scrollerSelector,o=void 0===n?"._15gifts-inPage":n,i=e.store,a=i.dispatch,c=(0,i.getState)(),l=c.config,u=(c.inPage||{}).DOMLocation,s=u||{},d=s.className,v=s.elementIndex,h=s.method,O=s.selector;t&&t.classList.add(d);var E=(0,f.iu)({config:l});return window.onload=(0,p.c)()({callback:function(e){e?(0,g.c)(void 0,e):(a((0,m.Ch)(function(e){for(var t=1;t0||null!==n.searchId&&void 0!==n.searchId;return r?{name:"recommendation",activeRecName:A({engine:n,copy:t})||t.overlayEngagementBlankRecommendedDevice}:o?{name:"engagedOpened"}:{name:"notEngaged"}},A=function(e){var t=e.copy,n=e.engine,r=(0,I.c)("handsetPartnerPropertyId"),o=(0,w.GK)({engine:n}),i=(0,w.uK)({engine:n});return(0,_.kb)(i)||(0,_.O0)(i)||(0,_.A3)(i)||(0,_.uI)(i)||(0,_.Yf)(i)||(0,_.G)(i)?t.overlayEngagementBlankRecommendation:o&&o[r]&&o[r].handsetName||n.activeProduct&&n.activeProduct.handsetName},P=n(7976),N=n(968);function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["copy","isOverlayEngagementOpen","scenario","shouldUseThemeUI"]);return i?r.createElement(N.ex,R({copy:t,isOverlayEngagementOpen:n,scenario:o},a)):r.createElement(P.OverlayEngagement,R({copy:t,isOverlayEngagementOpen:n,scenario:o},a))};k.propTypes={copy:d().object};var j=k;function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1e3;(0,r.useEffect)((function(){var n=setInterval(e,t);return function(){return clearInterval(n)}}))}(t,void 0===n?250:n,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["handlePoll","intervalMs"])),r.createElement("div",null)};W.propTypes={handlePoll:d().func,intervalMs:d().number};var K=W;function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:E.is.getState(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{method:"GET",baseParams:{p:s._2,host:window.location.hostname.replace(/^w+\./,""),path:window.location.pathname+document.location.search,protocol:window.location.protocol.slice(0,-1),hash:window.location.hash,new_api:1,leapV:"2.100.0",time:0,referrer:document.referrer,live:I?1:0}},r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).user;return void 0===e?{}:e}(e),i=(0,p.Un)(e),c=i.btid,u=i.partnerStatus,w=n.baseParams,x=n.method,A=(0,g.OW)(m.g9.ip)||r.ip||"",P=(0,g.OW)(m.g9.sid)||r.sid||"",N=(0,g.OW)(m.g9.uid)||r.uid||"",D=r.vid||"",R=r.jid||"",k=(0,h.c)()[s.ai.SEARCH_ID]||(0,p.Ij)(e),j=(0,g.OW)(m.g9.planData).planData||r.planData||null,L=e.engine&&e.engine.startTime?e.engine.startTime:(0,y.wr)(),M=Math.round((0,y.wr)())-L,B=T(C(T(C({},w,!t.back&&k?{search_id:k}:null),{eid:a().get(e,"engine.id")||null,__user_ip:A,leap2:!0,origin_channel:(0,h.c)()[s.ai.ORIGIN_CHANNEL]||"web",sid:P,uid:N,vid:D,jid:R}),c?{btid:c}:{}),{time:M}),U=function(){var t=e.config.engine,n=t.isPassingPartnerStatusAsParam,r=void 0!==n&&n,o=t.isPassingPartnerStatusField,i=void 0===o?"":o;return r&&u&&u[i]?{engine_text_id:u[i]}:{}};return C({isReady:function(){var n,r,i=(0,h.c)(),c=i[s.ai.EVO_FORCE_SHOW]||!1,u=i[s.ai.EVO_FORCE_SPLIT]||t.evoForceTest||!1,d=((null===(r=window)||void 0===r||null===(n=r.__evo)||void 0===n?void 0:n.integrator)||{}).getVerizonSessionId,p=d&&d();t.evoForceTest&&delete t.evoForceTest,t.propertyDetails=(0,v.c)("handsetPartnerPropertyId");var g=C({},B,t,c?S({},s.ai.EVO_FORCE_SHOW,1):{},u?S({},s.ai.EVO_FORCE_SPLIT,u):{},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a().get(e,"device.screen.width")||0,n=a().get(e,"device.screen.height")||0,r=a().get(e,"device.window.width")||0,o=a().get(e,"device.window.height")||0,i=a().get(e,"device.document.width")||0,c=a().get(e,"device.document.height")||0;return{t_dev:1,t_ret:a().get(e,"device.retina")?1:0,t_pr:a().get(e,"device.pixelRatio")||null,t_tch:a().get(e,"device.touch")?1:0,t_scr:"".concat(t,"x").concat(n),t_wnd:"".concat(r,"x").concat(o),t_doc:"".concat(i,"x").concat(c)}}(e),U(),p?{verizon_session_id:p}:{});return o()({withCredentials:!0,url:f.c.readyToOpenUrl,method:x,params:g,paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})},crossDomain:!0,search_id:k})},isNext:function(n){var r,i,a=n.isLoading,c=(0,h.c)()[s.ai.EVO_FORCE_SPLIT]||!1;if(t.debug)i=T(C({},c?S({},s.ai.EVO_FORCE_SPLIT,c):{}),{search_id:k});else if(e.hasOwnProperty("engine")&&e.hasOwnProperty("answers")&&e.hasOwnProperty("question")){var u=e.answers,d=e.question;i=T(C({},c?S({},s.ai.EVO_FORCE_SPLIT,c):{}),{search_id:k}),!t.back&&d&&u.collection&&(i.q_id=d.id,u.collection.forEach((function(e){var t="a_".concat(d.id);if(e.selected){i[t]||(i[t]=[]);var n=d.type===s.cX.NUMBER?e.text:e.id;i[t].push(n)}})))}else i={};t.restart&&((0,g.qq)(b.c.knownHostsPartnerPropertyId,""),i.fresh=1,i.prev_search_id=i.search_id,i.search_id="",delete i.restart,delete i.q_id);var p=t;if(p.pageData&&delete(p=Object.assign({},C({},p,p.pageData))).pageData,(null===(r=p)||void 0===r?void 0:r.forceReloading)&&(p.first=1,delete p.forceReloading,delete i.q_id),e.engine&&0===e.engine.completedNextRequests&&(p.first=1),(0,g.OW)(b.c.restoreFromUrl)){var m=(0,h.c)(),y=m["15giftsSearchID"],v=m.contractLength,O=m.dataAmount,E=m.productId,w=m.upfrontCost;i={search_id:y,restore_from_url:1,prp:E||"",data_amount:O||"",upfront_cost:w||"",contract_length:v||""},(0,g.k1)(b.c.restoreFromUrl)}return i=Object.assign({},B,i,p,{loading:Number(a)},U()),o()({crossDomain:!0,data:j,method:j?"POST":"GET",params:i,paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})},url:f.c.nextUrl,withCredentials:!0})},isSearch:function(t){var n=e.engine,r=e.result,i=r.activeProductId,a=n.activeProduct&&n.activeProduct.tariffs&&n.activeProduct.tariffs.length>0&&n.activeProduct.tariffs.map((function(e){return e.productId})),c={property_id:t,search_id:n.searchId,org_product_id:a||i,active_product_id:i,active_tariff_id:r.activeTariff};return t||(0,O.c)("property_id is missing in isSearch method call",null,c),o()({withCredentials:!0,url:f.c.searchUrl,method:x,params:Object.assign({},B,c,U()),paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})},crossDomain:!0})},isSwitchBundle:function(t){var n=t.bundleId,r=t.orgBundleId,i=t.quantity,a=C({bundle_id:n,org_bundle_id:r,search_id:e.engine.searchId},i?{qty:i}:{});return o()({crossDomain:!0,method:x,params:Object.assign({},B,a,U()),paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})},url:f.c.switchUrl,withCredentials:!0})},isRemoveRecommendation:function(t){var n={search_id:t,rid:e.engine.resultsId};return o()({withCredentials:!0,url:f.c.removeRecUrl,method:x,params:Object.assign({},B,n),paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})},crossDomain:!0})},isSubmitTrack:function(t){var n={page_id:e.engine.pageId};return o()({withCredentials:!0,url:f.c.trackUrl,method:"GET",params:Object.assign({},B,n,t),paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})}})},isSubmitFeedback:function(e,t){return o()({withCredentials:!0,url:f.c.feedbackUrl,method:"GET",params:Object.assign({},B,{is_positive:e?1:0,message:t}),paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})}})},feedback:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o()({withCredentials:!0,url:f.c.feedbackUrl,method:"GET",params:C({},B,e),paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})}})},isEvents:function(e){return o()({crossDomain:!0,data:e,headers:{"Content-Type":"application/json"},method:"POST",params:B,url:f.c.eventsUrl,withCredentials:!0})},isKnownHosts:function(e){var t={partner_property_id:e};return o()({withCredentials:!0,method:"GET",url:f.c.knownHostsUrl,params:Object.assign({},B,t),paramsSerializer:function(e){return l().stringify(e,{arrayFormat:"repeat"})}})}},(0,d.UH)(s.Af.API_CALLS,{mergedParams:B,partnerServerConfig:_})||{})}},8648:function(e,t,n){"use strict";n.d(t,{Af:function(){return h},C2:function(){return _},Cm:function(){return o},ET:function(){return M},Eh:function(){return s},Gm:function(){return j},M5:function(){return S},Mj:function(){return B},QJ:function(){return U},QZ:function(){return H},Qd:function(){return I},Sm:function(){return m},U9:function(){return w},UF:function(){return O},Wm:function(){return F},YJ:function(){return v},Yj:function(){return T},Yz:function(){return k},ZQ:function(){return d},_2:function(){return E},_G:function(){return C},_K:function(){return W},aU:function(){return y},ae:function(){return i},ai:function(){return A},c$:function(){return b},cT:function(){return G},cX:function(){return r},cn:function(){return R},g9:function(){return a},gR:function(){return g},gb:function(){return D},gz:function(){return P},iQ:function(){return x},m4:function(){return c},oJ:function(){return p},qK:function(){return K},sl:function(){return N},sx:function(){return L},sz:function(){return f},u6:function(){return l},uo:function(){return u}});var r={CHECK:"check",MULTI_SLIDER:"slider_multi",RADIO:"radio",SLIDER:"slider",API:"api",NUMBER:"number"},o={DEFAULT:0,PRICE:1,MINUTES:2,SMART_BUDGET:3,FEATURES:4},i={DATA_CALCULATOR:"q-plan-calculate_data-slider_multi",DATA_CALCULATOR_TABLET:"data_calculator_tablet",MONTHLY_BUDGET:"q-telco_general-monthly_budget-slider",SPEND_LIMIT:"whats_the_most_youd_like_to_spend",DAILY_CHAT_TIME:"q-plan-talk_minutes_required-slider",HANDSET:"which_handset",BRAND:"ok_do_you_have_a_brand_in_mind",PHONE_FEATURES:"q-phone-feature_importance-slider_multi",BASIC_MONTHLY:"basic_phone_monthly",BASIC_PHONE_UPFRONT:"basic_phone_upfront",UPFRONT_BUDGET:"upfront_budget",PRICE_SENSITIVE:"price_sensitive_feature_ranking",CONFIDENT:"confident_feature_ranking",PREFERENCE_BASED:"preference_based_feature_ranking",INTERNET_FIOS:"q_internet_fios_at_address_radio",SERVICES_CHECK:"q_services-check_radio"},a={NEXT_ERROR:"NEXT_ERROR",NEXT_REQUEST:"NEXT_REQUEST",NEXT_SUCCESS:"NEXT_SUCCESS",READY_TO_OPEN_ERROR:"READY_TO_OPEN_ERROR",READY_TO_OPEN_REQUEST:"READY_TO_OPEN_REQUEST",READY_TO_OPEN_SUCCESS:"READY_TO_OPEN_SUCCESS",RESTORE_PERSISTED_VALUES:"RESTORE_PERSISTED_VALUES",SEARCH_ERROR:"SEARCH_ERROR",SEARCH_REQUEST:"SEARCH_REQUEST",SEARCH_SUCCESS:"SEARCH_SUCCESS",SWITCH_BUNDLE_ERROR:"SWITCH_BUNDLE_ERROR",SWITCH_BUNDLE_REQUEST:"SWITCH_BUNDLE_REQUEST",SWITCH_BUNDLE_SUCCESS:"SWITCH_BUNDLE_SUCCESS",SWITCH_BUNDLE_MEDIA_ERROR:"SWITCH_BUNDLE_MEDIA_ERROR",SWITCH_BUNDLE_MEDIA_SUCCESS:"SWITCH_BUNDLE_MEDIA_SUCCESS",DEBUG_SEARCH_ID_CHANGE:"DEBUG_SEARCH_ID_CHANGE",TAB_SHOW:"TAB_SHOW",TAB_HIDE:"TAB_HIDE",TAB_HOVERED:"TAB_HOVERED",TOGGLE_ANSWER:"TOGGLE_ANSWER",TOGGLE_INSURANCE_SCREEN:"TOGGLE_INSURANCE_SCREEN",TOGGLE_FLEX_SCREEN:"TOGGLE_FLEX_SCREEN",TOGGLE_ENGINE_PEEK:"TOGGLE_ENGINE_PEEK",TOGGLE_TARIFF_ACCORDION:"TOGGLE_TARIFF_ACCORDION",TOGGLE_SPECIFICATION_ACCORDION:"TOGGLE_SPECIFICATION_ACCORDION",TOGGLE_COLOUR_CAPACITY_ACCORDION:"TOGGLE_COLOUR_CAPACITY_ACCORDION",SET_IS_IN_PAGE_OPEN:"SET_IS_IN_PAGE_OPEN",SET_LAUNCHPAD_IS_INSERTED:"SET_LAUNCHPAD_IS_INSERTED",WINDOW_RESIZE:"WINDOW_RESIZE",WINDOW_RESIZE_END:"WINDOW_RESIZE_END",WINDOW_SCROLL:"WINDOW_SCROLL",EXIT_SCREEN_CLICK:"EXIT_SCREEN_CLICK",EXIT_SCREEN:"EXIT_SCREEN",TARIFF_CARD_CLICK:"TARIFF_CARD_CLICK",INSURANCE_CARD_CLICK:"INSURANCE_CARD_CLICK",INSURANCE_CARD_DESELECT:"INSURANCE_CARD_DESELECT",INSURANCE_LAST_CLICKED:"INSURANCE_LAST_CLICKED",INSURANCE_STATE_SWITCH:"INSURANCE_STATE_SWITCH",RESULT_TAB_CLICKED:"RESULT_TAB_CLICKED",CANCEL_INSURANCE_SELECTION:"CANCEL_INSURANCE_SELECTION",CONFIRM_INSURANCE_SELECTION:"CONFIRM_INSURANCE_SELECTION",REMOVE_FROM_BASKET:"REMOVE_FROM_BASKET",ADD_ANOTHER_LINE:"ADD_ANOTHER_LINE",FLEX_CONTRACT_LENGTH_INCREMENT:"FLEX_CONTRACT_LENGTH_INCREMENT",FLEX_UPFRONT_COST_INCREMENT:"FLEX_UPFRONT_COST_INCREMENT",FLEX_RESET_INCREMENT:"FLEX_RESET_INCREMENT",FLEX_TARIFF_DATA_INCREMENT:"FLEX_TARIFF_DATA_INCREMENT",SHOW_FLEX_CONTROL:"SHOW_FLEX_CONTROL",AUTO_ANSWER:"AUTO_ANSWER",TOTAL_DATA_USAGE_QUESTION:"TOTAL_DATA_USAGE_QUESTION",ADD_TOTAL_DATA_USAGE_QUESTION:"ADD_TOTAL_DATA_USAGE_QUESTION",REMOVE_TOTAL_DATA_USAGE_QUESTION:"REMOVE_TOTAL_DATA_USAGE_QUESTION",UPDATE_ACTIVE_WARRANTY:"UPDATE_ACTIVE_WARRANTY",CHANGE_TO_SCREEN:"CHANGE_TO_SCREEN",ADDITIONAL_INFORMATION_CLICK:"ADDITIONAL_INFORMATION_CLICK",ACCESSORY_TOGGLE:"ACCESSORY_TOGGLE",OPT_IN_OFFER_TOGGLE:"OPT_IN_OFFER_TOGGLE",RESULT_LOADED:"RESULT_LOADED",QUESTION_ACCORDION_TOGGLE:"QUESTION_ACCORDION_TOGGLE",TOGGLE_AUTOPAY:"TOGGLE_AUTOPAY",TRACKING:{ANSWERED:"ANSWERED",BUTTON_CLICK:"BUTTON_CLICK",CLICK:"CLICK",ADD_TO_BASKET_CTA_CLICKED:"ADD_TO_BASKET_CTA_CLICKED",CLICK_ADD_TO_CART:"CLICK_ADD_TO_CART",ADD_TO_CART_SUCCESS:"ADD_TO_CART_SUCCESS",CLICK_ENGINE_BACK:"CLICK_ENGINE_BACK",CLICK_ENGINE_RESULT_BACK:"CLICK_ENGINE_RESULT_BACK",CLICK_ENGINE_RESULT_NEXT:"CLICK_ENGINE_RESULT_NEXT",CLICK_ENGINE_RESULT_NEXT_FLEX:"CLICK_ENGINE_RESULT_NEXT_FLEX",NEXT_STEP_CTA_CLICKED:"NEXT_STEP_CTA_CLICKED",COLOUR_CAPACITY_ACCORDION:"COLOUR_CAPACITY_ACCORDION",MANUAL_OPEN:"MANUAL_OPEN",ENGAGEMENT_BUBBLE_CLOSED:"ENGAGEMENT_BUBBLE_CLOSED",ENGINE_OPENED:"ENGINE_OPENED",ENGINE_CLOSED:"ENGINE_CLOSED",HIDE_ENGAGEMENT_BUBBLE:"HIDE_ENGAGEMENT_BUBBLE",SHOW_ENGAGEMENT_BUBBLE:"SHOW_ENGAGEMENT_BUBBLE",CLICKED_ENGAGEMENT_BUBBLE:"CLICKED_ENGAGEMENT_BUBBLE",SHOW_WELCOME_BACK_MESSAGE:"SHOW_WELCOME_BACK_MESSAGE",HIDE_WELCOME_BACK_MESSAGE:"HIDE_WELCOME_BACK_MESSAGE",SHOW_AWARENESS_REMINDER:"SHOW_AWARENESS_REMINDER",HIDE_AWARENESS_REMINDER:"HIDE_AWARENESS_REMINDER",SHOW_SURVEY:"SHOW_SURVEY",HIDE_SURVEY:"HIDE_SURVEY",PROPERTY_SELECT:"PROPERTY_SELECT",QUESTION_TILE_SELECTED:"QUESTION_TILE_SELECTED",QUESTION_TILE_DESELECTED:"QUESTION_TILE_DESELECTED",QUESTION_DISPLAYED:"QUESTION_DISPLAYED",TECH_SPEC:"TECH_SPEC",PLAN_ANCHOR:"PLAN_ANCHOR",CLICKED_RES_SHOW_MORE_TARIFFS:"CLICKED_RES_SHOW_MORE_TARIFFS",SURVEY_CLICK_POSITIVE:"SURVEY_CLICK_POSITIVE",SURVEY_CLICK_NEGATIVE:"SURVEY_CLICK_NEGATIVE",SURVEY_POSITIVE_WITH_MESSAGE:"SURVEY_POSITIVE_WITH_MESSAGE",SURVEY_NEGATIVE_WITH_MESSAGE:"SURVEY_NEGATIVE_WITH_MESSAGE",SURVEY_SENT:"SURVEY_SENT",LAUNCHPAD_POSITION:"LAUNCHPAD_POSITION",SHOW_LAUNCHPAD:"SHOW_LAUNCHPAD",CLICKED_LAUNCHPAD:"CLICKED_LAUNCHPAD",UPDATE_INPAGE_INTERFACE_TYPE:"UPDATE_INPAGE_INTERFACE_TYPE",IN_PAGE_POSITION:"IN_PAGE_POSITION",SHOW_IN_PAGE:"SHOW_IN_PAGE",CLICKED_IN_PAGE:"CLICKED_IN_PAGE",EXIT:"EXIT",TOGGLE_BASKET:"TOGGLE_BASKET",TOGGLE_TERMS_CONDITIONS:"TOGGLE_TERMS_CONDITIONS",VECTOR_SCREEN_CONTINUE:"VECTOR_SCREEN_CONTINUE",FINISH_AND_FIND_PLAN:"FINISH_AND_FIND_PLAN",RESULT_LIGHTBOX_BUTTON_CLICK:"RESULT_LIGHTBOX_BUTTON_CLICK",RESULT_LIGHTBOX_CLOSE:"RESULT_LIGHTBOX_CLOSE",SLIDER_ENGAGE:"SLIDER_ENGAGE",SLIDER_RELEASE:"SLIDER_RELEASE",PROTECTION_OPTIONS_ACCORDION:"PROTECTION_OPTIONS_ACCORDION",MORE_PROTECTION_INFO:"MORE_PROTECTION_INFO",SHARED_PROFILE_DATA:"SHARED_PROFILE_DATA",LOGIN_BUTTON_CLICKED:"LOGIN_BUTTON_CLICKED",SUBSCRIPTION_MODIFIER_SHOWN:"SUBSCRIPTION_MODIFIER_SHOWN",SCROLL_UP_CLICK:"SCROLL_UP_CLICK",MOBILE_FIXED_BASKET_CLICKED:"MOBILE_FIXED_BASKET_CLICKED",LINE_ACCORDION:"LINE_ACCORDION",HIDE_OVERLAY_ENGAGEMENT:"HIDE_OVERLAY_ENGAGEMENT",CLICKED_OVERLAY_ENGAGEMENT:"CLICKED_OVERLAY_ENGAGEMENT",EXTERNAL_TRACKING_EVENT:"EXTERNAL_TRACKING_EVENT",ENGAGEMENT_BUBBLE_SUPPRESSED:"ENGAGEMENT_BUBBLE_SUPPRESSED",PAGE_VIEWED:"PAGE_VIEWED",FLEX_MODAL_CLICK:"FLEX_MODAL_CLICK",FLEX_DEVICE_PAYMENT_PLAN_CLICK:"FLEX_DEVICE_PAYMENT_PLAN_CLICK",LOGIN_OFFER_MODAL_CANCEL_CLICK:"LOGIN_OFFER_MODAL_CANCEL_CLICK",LOGIN_OFFER_MODAL_CONFIRM_CLICK:"LOGIN_OFFER_MODAL_CONFIRM_CLICK"},ENGAGEMENT:{ENGAGE:"ENGAGE",ENGAGED_OR_CLICKED:"ENGAGED_OR_CLICKED",ENGAGE_REASON:"ENGAGE_REASON",FULFILL_DELAY_RULE:"FULFILL_DELAY_RULE",HOT:"HOT",OVERLAY_ENGAGE:"OVERLAY_ENGAGE",SUPPRESS:"SUPPRESS"},TOGGLE_BUBBLE:"TOGGLE_BUBBLE",CLOSE_BUBBLE:"CLOSE_BUBBLE",SHOW_BUBBLE:"SHOW_BUBBLE",FEEDBACK_REQUEST:"FEEDBACK_REQUEST",FEEDBACK_SUCCESS:"FEEDBACK_SUCCESS",FEEDBACK_ERROR:"FEEDBACK_ERROR",EVENTS_REQUEST:"EVENTS_REQUEST",EVENTS_SUCCESS:"EVENTS_SUCCESS",EVENTS_ERROR:"EVENTS_ERROR",SET_BUBBLE_OFFSET:"SET_BUBBLE_OFFSET",LOADING:{CLEAR_LOADING:"CLEAR_LOADING",FORCE_LOADING:"FORCE_LOADING",READY_TO_ADVANCE_LOADING:"READY_TO_ADVANCE_LOADING",VECTORS_SHOWN:"VECTORS_SHOWN",VECTORS_SCREEN_SHOWN:"VECTORS_SCREEN_SHOWN"},CREATE_TASK:"CREATE_TASK",OBSERVER:{UPDATE_COPY:"UPDATE_COPY"},UPDATE_SPLIT_TESTS:"UPDATE_SPLIT_TESTS",TARIFF_BENEFIT_ACCORDION:"TARIFF_BENEFIT_ACCORDION",INSURANCE_BENEFIT_ACCORDION:"INSURANCE_BENEFIT_ACCORDION",REVISE_SUBSCRIPTION_MODIFIERS:"REVISE_SUBSCRIPTION_MODIFIERS",RESET_SUBSCRIPTION_MODIFIERS:"RESET_SUBSCRIPTION_MODIFIERS",UPDATE_SUBSCRIPTION_MODIFIERS:"UPDATE_SUBSCRIPTION_MODIFIERS",SAVE_SUBSCRIPTION_MODIFIERS:"SAVE_SUBSCRIPTION_MODIFIERS",REQUEST_BANK_HOLIDAYS:"REQUEST_BANK_HOLIDAYS",SET_IS_BANK_HOLIDAY:"SET_IS_BANK_HOLIDAY",INITIALISE:"INITIALISE",CLEAR_RESULT_LOADING:"CLEAR_RESULT_LOADING",RESULT_PURCHASE_ITEM:"RESULT_PURCHASE_ITEM",TOGGLE_ADDON:"TOGGLE_ADDON",PROPERTY_ADDED:"PROPERTY_ADDED",PROPERTY_REMOVED:"PROPERTY_REMOVED",PRIMARY_CTA_CLICKED:"PRIMARY_CTA_CLICKED",PROPERTY_OPTIONS_OPENED:"PROPERTY_OPTIONS_OPENED",PROPERTY_OPTIONS_CLOSED:"PROPERTY_OPTIONS_CLOSED",EXTRAS_OPTIONS_CLOSED:"EXTRAS_OPTIONS_CLOSED",EXTRAS_OPTIONS_OPENED:"EXTRAS_OPTIONS_OPENED",EQUIPMENT_OPTIONS_CLOSED:"EQUIPMENT_OPTIONS_CLOSED",EQUIPMENT_OPTIONS_OPENED:"EQUIPMENT_OPTIONS_OPENED",SHOW_MODAL:"SHOW_MODAL",HIDE_MODAL:"HIDE_MODAL",SHOW_ADD_MORE_LINES_MODAL:"SHOW_ADD_MORE_LINES_MODAL",START_AGAIN_MODAL_CANCEL_CLICK:"START_AGAIN_MODAL_CANCEL_CLICK",START_AGAIN_MODAL_CLOSE_CLICK:"START_AGAIN_MODAL_CLOSE_CLICK",START_AGAIN_MODAL_RESTART_CLICK:"START_AGAIN_MODAL_RESTART_CLICK",START_AGAIN_MODAL_SHOW:"START_AGAIN_MODAL_SHOW",LINE_QUANTITY_EDIT_CLICKED:"LINE_QUANTITY_EDIT_CLICKED",LINE_QUANTITY_MODAL_CLOSED_CLICKED:"LINE_QUANTITY_MODAL_CLOSED_CLICKED",LINE_QUANTITY_MODAL_CONFIRM_CLICKED:"LINE_QUANTITY_MODAL_CONFIRM_CLICKED"},c={ADD_MORE_LINES:"ADD_MORE_LINES",ADDON_DETAILS:"ADDON_DETAILS",BASKET_INFO_TEXT:"BASKET_INFO_TEXT",BULK_PURCHASE:"BULK_PURCHASE",CLUB_CARD:"CLUB_CARD",DELIVERY:"DELIVERY",DEVICE_CONNECTION_CHARGE:"DEVICE_CONNECTION_CHARGE",DEVICE_OFFER:"DEVICE_OFFER",FLEX_PAY:"FLEX_PAY",INELIGIBLE_ADDON:"INELIGIBLE_ADDON",INELIGIBLE_PLAN:"INELIGIBLE_PLAN",LOGIN_OFFER:"LOGIN_OFFER",OFFER_DETAILS:"OFFER_DETAILS",PROTECTION_DECLINE:"PROTECTION_DECLINE",PROTECTION_TERMS:"PROTECTION_TERMS",SHAREABLE_ADDON:"SHAREABLE_ADDON",START_AGAIN:"START_AGAIN",TERMS_AND_CONDITIONS:"TERMS_AND_CONDITIONS",WHATS_NOT_INCLUDED:"WHATS_NOT_INCLUDED"},l={POSTCODE_CHECKER_SHOWN:"POSTCODE_CHECKER_SHOWN",POSTCODE_CHECKER_ADDRESS_CHOSEN:"POSTCODE_CHECKER_ADDRESS_CHOSEN",POSTCODE_CHECKER_ATTEMPT:"POSTCODE_CHECKER_ATTEMPT",POSTCODE_CHECKER_SUCCESS:"POSTCODE_CHECKER_SUCCESS",POSTCODE_CHECKER_FAIL:"POSTCODE_CHECKER_FAIL",POSTCODE_CHECKER_ERROR:"POSTCODE_CHECKER_ERROR",TRACKING:{SERVICE_SHOWN:"SERVICE_SHOWN",INPUT_SHOWN:"INPUT_SHOWN",INPUT_CLICKED:"INPUT_CLICKED",SUGGESTION_CLICKED:"SUGGESTION_CLICKED",SERVICE_CALL:"SERVICE_CALL",SERVICE_SUCCESS:"SERVICE_SUCCESS",SERVICE_FAIL:"SERVICE_FAIL",SERVICE_ERROR:"SERVICE_ERROR"}},u={NEXT:{BACK:{back:1},BOOKMARK:{bookmark:1},DEBUG:{debug:1},RESTART:{restart:1}}},s={GROUP_FROM_ANSWER_TEXT_ID:new RegExp(/_([^_]+)(\|.*|)(_required|)$/),DATA_CALCULATOR:new RegExp(/^q-plan-calculate_data-slider_multi?/),DATA_CALCULATOR_TABLET:new RegExp(/^data_calculator_tablet?/),SHOW_OVERLAY:new RegExp(/leapShowOverlay/gi)},d={DOWN:40,END:35,ESC:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,UP:38},f={UNSET:null,OVERLAY:"overlay",INPAGE:"inPage",LAUNCHPAD:"launchpad"},p={BACKGROUND:"background",INTRO_TIMED:"introTimed",SPIN:"spin",SPOKES:"spokes",START_AGAIN:"startAgain",VECTOR:"vector",VECTOR_AI:"vectorAI"},g={DEFAULT:"default",ENGAGEMENT:"engagement",WELCOME:"welcome",AWARENESS:"awareness",FEEDBACK:"feedback",SURVEY:"survey",OVERLAY_ENGAGEMENT:"overlay_engagement"},m={QUESTION:"0",WELCOME:"1",DOUBLE:"2",SINGLE:"3",MOBILE:"4"},b={HEADER:"_15gifts-engagement__header",BODY:"_15gifts-engagement__body"},y={DEFAULT:"default",FIXED:"fixed",BASKET:"basket"},v={BEFORE_READY:"beforeReady",AFTER_READY:"afterReady",BEFORE_NEXT:"beforeNext",NEXT_SUCCESS:"nextSuccess",ENGINE_PROGRESS:"engineProgress",PRE_PROCESS_READY:"preProcessReady",GET_URL_CONTENT:"getUrlContent",SEND_TO_CART:"sendToCart",API_QUESTION:"apiQuestion",INIT_SESSION:"initSession",CHAT_ENGAGEMENT:"chatEngagement",POLL:"poll",EXIT_SCREEN_CLICK:"exitScreenClick",API_TRACKING:"apiTracking",ENGINE_OPENED:"engineOpened",ENGINE_CLOSED:"engineClosed",BEFORE_QUESTION_PROGRESS_NEXT:"beforeQuestionProgressNext"},h={API_CALLS:"apiCalls",ECID:"ecid",PARTNER_STATUS:"partnerStatus",PRICING:"pricing",SUPPRESSION_CONFIG:"suppressionConfig",UPFRONT_COST_INCREMENT:"upfrontCostIncrement",UPFRONT_COST_DECREMENT:"upfrontCostDecrement"},O={DATA_ROUNDING_VALUE:99},E="tmobile",S={DEFAULT:null,PENDING:"pending",SUCCESS:"success",ERROR:"error"},C={QUESTIONS:"QUESTIONS",RESULT:"RESULT"},T={ACCESSORIES:"accessories_screen",ADDONS:"addons_screen",EXIT:"exit_screen",FLEX:"custom_plans_screen",LOADING:"loading_screen",PROTECTION:"insurance_screen",QUESTIONS:"question_journey",RESULT:"results_screen",VECTOR:"vector_screen"},w={BYOD:"byod",SIMO:"simo",PAYM:"paym",PAYMPARTCHOSEN:"paympartchosen",PAYMCHOSEN:"paymchosen",PAYG:"payg",PLANONLY:"planonly",MULTILINE_SHARED_TARIFFS:"multiline_shared_tariffs",MULTILINE_MIXED_TARIFFS:"multiline_individual_tariffs",MULTILINE_DEVICE:"multiline_device",MULTILINE:"multiline",EXIT:"exit"},_={ANSWERS:"Answers",BASKET:"Basket",BASKET_ITEMS_CONFIG:"BasketItemsConfig",BASKET_TOTAL_CONNECTOR:"BasketTotalConnector",CHAT:"Chat",COLUMN_CARD:"ColumnCard",COLUMN_CARD_OFFERS:"ColumnCardOffers",ENGAGEMENT:"Engagement",ENGINE:"Engine",FIXED_BASKET:"FixedBasket",FIXED_BASKET_CONNECTOR:"FixedBasketConnector",HIDE_INSURANCE_MODAL:"HideInsuranceModal",HOVER_TAB_ENGAGEMENT:"HoverTabEngagement",LAUNCHER:"Launcher",LAUNCHPAD:"Launchpad",LOADING:"Loading",MAPPING:"Mapping",PRODUCT_DETAILS:"ProductDetails",PRODUCT_DETAILS_CONDENSED:"ProductDetailsCondensed",PRODUCT_SUBSCRIPTION_CONFIG:"ProductSubscriptionConfig",RESULT:"Result",RESULT_TABS:"ResultTabs",SUMMARY:"Summary",SUMMARY_CONFIG:"SummaryConfig",SUMMARY_MULTILINE:"SummaryMultiline",TABS:"Tabs",TABS_CONFIG:"TabsConfig",TOP_NAV:"TopNav"},I={FEEDBACK:"feedback_survey"},x={FEEDBACK_SHOW:"show_survey",FEEDBACK_JOURNEY:"show_feedback_journey"},A={EVO_FORCE_SHOW:"__evo_show",EVO_FORCE_SPLIT:"__evo_force_test",STANDALONE:"standalone",DEBUG:"15giftsDebug",LOG_LEVEL:"15giftsLogLevel",SEARCH_ID:"15giftsSearchID",SOURCE:"15giftsSource",UID:"originalUID"},P={GOOD:"Good Credit",BUILDING:"Building Credit"},N={ACCORDION_SEPARATOR:"~15gifts-separator~",THIRTY_DAYS:2592e3,SESSION:"session",INCLUDED:"included",EXCLUDED:"excluded"},D={is_unlimited:"Unlimited"},R={ACCESSORIES:"accessories",ADDONS:"addons",APPROVE_SWITCH:"approveSwitch",BULK_PURCHASE_MODAL:"bulkPurchaseModal",EXIT:"exit",FLEX:"flex",INITIAL:"initial",LOADING:"loading",MODIFIED:"modified",PLANS:"plans",PRE_NEXT_INTENT:"preNextIntent",PRE_NEXT_PRODUCT:"preNextProduct",PROTECTION:"protection",PURCHASING:"purchasing",SWITCH:"switch",SWITCH_EXTRA:"switchExtra",UPDATING:"updating"},k={OFFER_DETAILS:"offerDetails",EXTRAS_DETAILS:"extrasDetails"},j={BUNDLE:"Bundle"},L={QUESTION_PC_CHECKER:"QUESTION_PC_CHECKER"},M={INITIAL:"initial",ADDRESS_SEARCH:"addressSearch",ADDRESS_FOUND:"addressFound",ADDRESS_NOT_FOUND:"addressNotFound",UNIT_SEARCH:"unitSearch",UNIT_FOUND:"unitFound",UNIT_NOT_FOUND:"unitNotFound",BROADBAND_CHECK:"broadbandCheck",ERROR:"error",RESTART:"restart"},B={RESTART:"RESTART",ADDRESS_SEARCH:"ADDRESS_SEARCH",ADDRESS_FOUND:"ADDRESS_FOUND",ADDRESS_NOT_FOUND:"ADDRESS_NOT_FOUND",UNIT_SEARCH:"UNIT_SEARCH",UNIT_FOUND:"UNIT_FOUND",UNIT_NOT_FOUND:"UNIT_NOT_FOUND",BROADBAND_CHECK:"BROADBAND_CHECK",RESET_UNIT:"RESET_UNIT"},U={ACCEPT:"ACCEPT",AUTO_FIRE:"always",BACK:"BACK",CLOSE:"CLOSE",DECLINE:"DECLINE",DONE:"DONE",NEXT_INTENT:"NEXT_INTENT",NEXT_PRODUCT:"NEXT_PRODUCT",NEXT:"NEXT",OPEN:"OPEN",RESTART:"RESTART",REVERT:"REVERT",UPDATE:"UPDATE",SWITCH:"SWITCH",SWITCH_EXTRA:"SWITCH_EXTRA",APPROVE_SWITCH:"APPROVE_SWITCH",DECLINE_SWITCH:"DECLINE_SWITCH",EXTRAS_LIST_TOGGLE:"EXTRAS_LIST_TOGGLE",PROPERTY_LIST_TOGGLE:"PROPERTY_LIST_TOGGLE",EQUIPMENT_LIST_TOGGLE:"EQUIPMENT_LIST_TOGGLE",OFFER_LIST_TOGGLE:"OFFER_LIST_TOGGLE",SHOW_DETAILS_MODAL:"SHOW_DETAILS_MODAL",HIDE_DETAILS_MODAL:"HIDE_DETAILS_MODAL",SHOW_EXTRAS_DETAILS_MODAL:"SHOW_EXTRAS_DETAILS_MODAL"},H={BACK:"BACK",CLOSE:"CLOSE",PURCHASE:"PURCHASE",RESTART:"RESTART",REVERT:"REVERT"},G={OVERLAY_GUTTER:"gap",TOP_NAV:"nav_cross"},F={FORWARD:"FORWARD",BACKWARD:"BACKWARD",RESTART:"RESTART"},W={DELAY:"delay",EXTERNAL:" external",HIDDEN:"engagement_hidden"},K={HEADER:"_15gifts-modal-header",BODY:"_15gifts-modal-body"}},2468:function(e,t,n){"use strict";n.d(t,{eS:function(){return Ro},ak:function(){return ko},is:function(){return Po}});var r=n(8928),o=n(5298),i=n(8348),a=n(8392),c=n(3303),l=n(8648),u=n(3336),s=n(9336),d=n(8672),f=n(8652),p=n(1984),g=function(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){var o=r.payload,i=void 0===o?{}:o,a=r.type,c=void 0===a?"":a;switch(c){case l.g9.READY_TO_OPEN_SUCCESS:case l.g9.NEXT_SUCCESS:case l.g9.SEARCH_SUCCESS:case l.g9.SWITCH_BUNDLE_SUCCESS:(0,p.c)(i.response||i)}var g=e(r);if(c===l.g9.READY_TO_OPEN_SUCCESS){(0,u.cp)(l.YJ.AFTER_READY,{dispatch:t,getState:n});var m=n(),b=(0,s.mW)(m);(0,u.ol)({testHook:l.C2.LOADING,activeTests:i.activeTests}).removeIntroLoadingScreen&&!b&&(t((0,d.my)()),t((0,f.QX)()))}return g}}},m=n(1112),b=n(6488),y=n(6472),v=n(584),h=n(7556),O=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(n){return function(r){return function(o){var i=r(o);return e[o.type]&&e[o.type](o,n.getState(),n.dispatch,t),i}}}}};function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S,C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.chat,r=void 0===n?{}:n,o=t.engine,i=void 0===o?{}:o;return(0,u.cp)(l.YJ.CHAT_ENGAGEMENT,{chatConfig:(0,b.Y)({chat:r}),bubbleType:e.bubbleType||"ENGAGE"===e.type&&"engagement",isControl:(0,s.mc)({engine:i}),isEngineOpen:!0})},T=function(e,t){var n=t.chat,r=void 0===n?{}:n,o=t.engine,i=void 0===o?{}:o,a=t.loading,c=void 0===a?{}:a,d=t.result,f=void 0===d?{}:d,p=(0,s.Ge)({engine:i}),g=(0,s.kX)({engine:i}).length+1,m=(0,h.cX)({result:f}),y=(0,s.uK)({engine:i}),O=(0,v.O)({loading:c});return(0,u.cp)(l.YJ.CHAT_ENGAGEMENT,{chatConfig:(0,b.Y)({chat:r}),isControl:(0,s.mc)({engine:i}),isEngineOpen:i.open||!1,lineNumber:g,loadScreenType:O,questionNumber:p,recStep:m,recommendationScreenType:y})},w=(E(S={},l.g9.READY_TO_OPEN_REQUEST,(function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).config.chat,r=void 0===n?{}:n;t((0,m.IF)(r))})),E(S,y.c.ENGINE_LOADED,(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.chat,r=void 0===n?{}:n,o=t.engine,i=void 0===o?{}:o;return(0,u.cp)(l.YJ.CHAT_ENGAGEMENT,{chatConfig:(0,b.Y)({chat:r}),isEngineLoaded:!0,isControl:(0,s.mc)({engine:i})})})),E(S,l.g9.NEXT_SUCCESS,T),E(S,y.c.TOGGLE_ENGINE_OPEN,T),E(S,l.g9.ENGAGEMENT.ENGAGE,C),E(S,l.g9.SHOW_BUBBLE,C),E(S,l.g9.CLOSE_BUBBLE,(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.chat,r=void 0===n?{}:n,o=t.engine,i=void 0===o?{}:o;return(0,u.cp)(l.YJ.CHAT_ENGAGEMENT,{chatConfig:(0,b.Y)({chat:r}),isEngineOpen:!1,isControl:(0,s.mc)({engine:i})})})),E(S,l.g9.TOGGLE_BUBBLE,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.chat,n=void 0===t?{}:t,r=e.engine,o=void 0===r?{}:r,i=e.isBubbleOpen;return(0,u.cp)(l.YJ.CHAT_ENGAGEMENT,{chatConfig:(0,b.Y)({chat:n}),isEngineOpen:!!i,isControl:(0,s.mc)({engine:o})})})),S),_=O(w),I=n(7228),x=n(7320),A=n.n(x),P=n(2332),N=n(2952),D=n(8184),R=n(4920),k=n(7248),j=n(7560),L=n(8808),M=n(2576),B=n(7216),U=n(2328),H=n(7072);function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{}).question;return(void 0===e?{}:e)||{}},ee=n(5088),te=n(2044),ne=n(6668);function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.raiseEvent,n=e.raiseHotEvent,r=e.raiseProfileEvent,o=e.raiseSplitEvent;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return function(){var c,u,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=d.type,p=void 0===f?"":f,g=e.dispatch,m=e.getState,b=void 0===m?function(){return{}}:m,v=b(),h=i(d),O=b(),E=O.engine,S=void 0===E?{}:E,C=O.question,T=void 0===C?{}:C,w=S.isHidden,_=S.isReady;switch(p){case y.c.ENGINE_LOADED:t(Y.g.ENGINE_LOADED,O);break;case l.g9.TAB_SHOW:!(0,x.get)(v,"launcher.launcher.isShown",!1)&&t(Y.g.ENGINE_SHOWN,O,{context:Y.a.TAB});break;case l.g9.TRACKING.EXIT:var I,A,P,N=null===(P=O)||void 0===P||null===(A=P.result)||void 0===A||null===(I=A.exitScreenData)||void 0===I?void 0:I.meta;t(Y.g.EXIT_SCREEN,O,N);break;case l.g9.RESULT_LOADED:t(Y.g.RECOMMENDATION,O,d.payload),g((0,a.IH)("Recommendation")),r(O);break;case l.g9.RESULT_TAB_CLICKED:g((0,a.IH)("Result Tab Clicked")),r(O);break;case l.g9.TRACKING.CLICK_ADD_TO_CART:t(Y.g.ADD_TO_CART_RESULT,O,d.payload),r(O);break;case l.g9.SEARCH_REQUEST:g((0,a.IH)("Search Request")),r(O);break;case l.g9.SWITCH_BUNDLE_SUCCESS:g((0,a.IH)("Switch Bundle Success")),r(O);break;case l.g9.TARIFF_CARD_CLICK:g((0,a.IH)("Tariff Select")),r(O);break;case l.g9.READY_TO_OPEN_SUCCESS:_&&w&&t(Y.g.ENGINE_HIDDEN,O),o({state:O});break;case l.g9.ENGAGEMENT.OVERLAY_ENGAGE:t(Y.g.ENGINE_SHOWN,O,{context:Y.a.SUPER_ENGAGEMENT});break;case y.c.TOGGLE_ENGINE_OPEN:var D,R=S.open,k=((d||{}).data||{}).trigger,j=k===Y.a.LAUNCHPAD,L=k===Y.a.BUBBLE,B=k===Y.a.SUPER_ENGAGEMENT,U=k===Y.a.EXTERNAL_TRIGGER;D=j?Y.a.LAUNCHPAD:L?Y.a.BUBBLE:B?Y.a.SUPER_ENGAGEMENT:U?Y.a.EXTERNAL_TRIGGER:Y.a.TAB,R&&t(Y.g.ENGINE_OPENED,O,{trigger:D}),R&&!j&&!L&&!B&&!U&&t(Y.g.ENGINE_OPENED_TAB,O),R&&j&&t(Y.g.ENGINE_OPENED_LAUNCHPAD,O),!R&&t(Y.g.ENGINE_CLOSED,O,{location:(0,s.G8)(O),recommendation:(0,Q.Kg)(O)}),!R&&r(O),!R&&g((0,a.IH)()),n({action:d,state:O});break;case y.c.TRACKING.CLICK_ENGINE_NEXT:var H=(d.meta||{}).interfaceType===l.sz.INPAGE&&(0,s._U)(O);H&&t(Y.g.ENGINE_OPENED,O,{trigger:Y.a.INPAGE}),H&&t(Y.g.ENGINE_OPENED_INPAGE,O);break;case l.g9.TRACKING.ANSWERED:var G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,x.get)(e,["events",Y.g.ANSWERED_QUESTION,"allowedQuestionsIds"],[])}(O).includes(T.textId)?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Z(e);(0,M._)(t)&&(0,ee.c)("questionState is missing for prepping event data");var n=(0,J.Ky)(e);(0,M.Q)(n)&&(0,ee.c)("selectedAnswerData is missing for prepping event data");var r={questionName:t.text,questionId:t.textId,answerValues:n.reduce((function(e,t){return t.text&&e.push(t.text),e}),[]).join("|"),answerIds:n.reduce((function(e,t){return t.textId&&e.push(t.textId),e}),[]).join("|")};return!r.questionName&&(0,ee.c)("questionName is missing for event data"),!r.questionId&&(0,ee.c)("questionId is missing for event data"),!r.answerValues&&(0,ee.c)("answerValues is missing for event data"),!r.answerIds&&(0,ee.c)("answerIds is missing for event data"),r}(O):{};if("q_existing-internet-customer_radio"===T.textId){t(Y.g.ANSWERED_QUESTION,O,(c=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=e.getPersistValue,r=void 0===n?R.OW:n,o=e.raise,i=void 0===o?X.c:o,a=e.state,c=void 0===a?{}:a,u=e.suppress,s=void 0===u?te.yO:u,d=c.engine,f=(void 0===d?{}:d).isHidden?Y.g.HOT_CONTROL:Y.g.HOT_TREATED;r()&&!s(c)&&(!r(k.c.hot)||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=e.enabled,r=void 0===n?N.mY:n,o=e.getPersistValue,i=void 0===o?R.OW:o,a=e.state,c=(void 0===a?{}:a).engine,u=void 0===c?{}:c,s=u.hasEngaged,d=(0,N.gz)({engine:u}),f=!s&&!i(d),p=t===l.g9.ENGAGEMENT.ENGAGE_REASON||t===y.c.TOGGLE_ENGINE_OPEN||t===q.c.HOT;return!i(d)&&r({engine:u})&&f&&p}({state:c,action:t}))&&i(f,c)},raiseProfileEvent:function(e){var t=e.config,n=e.engine,r=e.result,o=t.engine.ecidCookie,i=(0,$.i4)({engine:n,result:r}),a=(0,s.uK)({engine:n});i&&a&&(0,X.c)(Y.g.PROFILE_EVENT,e,(0,$.cp)(r)(n,o))},raiseSplitEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.raise,n=void 0===t?X.c:t,r=e.state,o=void 0===r?{}:r,i=o.events,a=o.splitTests,c=void 0===a?{}:a,l=(0,x.get)(i,[Y.g.RUNNING_SPLIT_TESTS,"testsToTrack"],[]),u=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(t){return e.some((function(e){return t===e}))}))}(Object.keys(c),l).map((function(e){return"".concat(e,": ").concat(c[e])}));n(Y.g.RUNNING_SPLIT_TESTS,o,{activeTests:u})}}),ie=n(9432),ae=n(3868);function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var le,ue=O((ce(le={},l.g9.TOGGLE_ANSWER,(function(e,t,n){var r=t.engine,o=t.inPage,i=t.splitTests,a=o.preferredInterfaceType!==l.sz.UNSET;r.open||a||!(0,ae.c)({splitTests:i})||(n((0,ie.kh)(l.sz.INPAGE)),n((0,ie.qq)()))})),ce(le,y.c.TOGGLE_ENGINE_OPEN,(function(e,t,n){t.inPage.preferredInterfaceType===l.sz.UNSET&&n((0,ie.kh)(l.sz.OVERLAY))})),le)),se=n(3952),de=n(4584),fe=n(8432),pe=n(8168);function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ve=function(e){var t=e.after,n=ye(e,["after"]);return(0,pe.c)(me({label:t},n),["active"])},he=function(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){var o=r.data,i=void 0===o?{}:o,a=r.type,c=void 0===a?"":a,u=n(),d=u.config,f=u.engine,p=void 0===f?{}:f,g=u.launcher,m=void 0===g?{}:g,b=u.result,v=void 0===b?{}:b,h=u.splitTests,O=void 0===h?{}:h,E=m.bubble,S=void 0===E?{}:E;switch(c){case y.c.ENGINE_UPDATE_VISIBILITY:(S.isBubbleOpen||p.isHidden)&&t((0,de.c5)());break;case l.g9.READY_TO_OPEN_SUCCESS:t((0,de.iC)()),t((0,de.I7)({staticConfig:d,dynamicConfig:r.payload}));break;case y.c.TOGGLE_ENGINE_OPEN:var C=(i||{}).trigger,T=void 0===C?"":C,w=!!p.open,_=T===l.cT.OVERLAY_GUTTER||T===l.cT.TOP_NAV,I=(0,R.OW)(k.c.isExit),x=(0,R.OW)(k.c.feedbackSubmitted),A=(0,s.mW)({engine:p,result:v})&&!I,P=O[l.Qd.FEEDBACK];w&&_&&A&&!x&&setTimeout((function(){P===l.iQ.FEEDBACK_SHOW?t((0,de.u_)(l.gR.FEEDBACK)):P===l.iQ.FEEDBACK_JOURNEY?t((0,de.u_)(l.gR.SURVEY)):t((0,de.u_)(l.gR.AWARENESS)),(0,R.qq)(k.c.feedbackSubmitted,!0)}),500);break;case fe.aA.GET_FEEDBACK_QUESTIONS_PENDING:(0,se.c)(n()).feedback({p:l._2,mode:"ps",max:5}).then((function(e){var n=e.data;return t((0,de.q4)(function(){var e=arguments.length>1?arguments[1]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){var n=t.answers,r=t.id,o=t.title;return be(me({},ye(t,["answers","id","title"])),{active:!e,heading:o,items:n.map((function(e){var t=e.label,n=e.value,r=ye(e,["label","value"]);return me({after:t,value:"".concat(n)},r)})),name:r})}))}(n)))})).catch((function(e){return t((0,de.MF)(e))}))}return e(r)}}},Oe=function(e){return function(t){return function(n){var r=n.type,o=void 0===r?"":r,i=(0,B.c)().mockNext;return o===l.g9.NEXT_REQUEST&&"recVectors"===i&&A().has(n,"payload.completedNextRequests")&&!Number.isNaN(n.payload.completedNextRequests)&&e.dispatch((0,a.cp)()),t(n)}}},Ee=n(9899),Se=n.n(Ee),Ce=n(1552),Te=n(2104),we=n(1228),_e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"-";return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number;return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n?n.split(e).map(t):[]}}}()();function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ne=function(e){var t=e.depth;return e.levels.length<=t},De=function(e){return(0,h.J)(e).filter((function(e,t){return t}))},Re=function(e){var t=e.depth,n=void 0===t?0:t,r=e.labels,o=e.levels,i=void 0===o?[]:o,a=e.modifiers;return(void 0===a?[]:a).map((function(e){var t,o=e.items,a=void 0===o?[]:o;return Ae(xe({},Pe(e,["items"])),{items:(t=a.map((function(e,t){var o=e.modifiers,a=void 0===o?[]:o,c=Pe(e,["modifiers"]);return Ae(xe({},c,a.length?{modifiers:Re({modifiers:a,levels:i,depth:n+1,labels:r})}:{}),{active:Ne({levels:i,depth:n})?c.label===r[n]:t===i[n]})})),t.some((function(e){return e.active}))?t:t.map((function(e,t){return Ae(xe({},e),{active:!t})})))})}))};function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=16?(0,Ce.c)((0,Te.c)(e,1),15):e,r=n.getDay(),o=!1;return!!t.find((function(e){switch(r){case 5:o=(o=o||(0,we.c)(e,n))||(0,we.c)(e,(0,Te.c)(n,3));break;case 6:o=o||(0,we.c)(e,(0,Te.c)(n,2));break;case 0:o=o||(0,we.c)(e,(0,Te.c)(n,1));break;default:o=o||(0,we.c)(e,n)}return o}))}(new Date,i))),[2]}}))},Ke=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=We.apply(e,t);function i(e){Le(o,n,r,i,a,"next",e)}function a(e){Le(o,n,r,i,a,"throw",e)}i(void 0)}))},function(e,t,n){return Ke.apply(this,arguments)}),Ye=O((Me(ze={},l.g9.RESULT_PURCHASE_ITEM,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t,n,r){var o=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).partnerLogic;return(0,u.cp)(e,{state:n,action:t,dispatch:r},{logic:o})}}(l.YJ.SEND_TO_CART)),Me(ze,l.g9.NEXT_SUCCESS,(function(e,t,n){var r=t.config,o=t.engine,i=A().get(r,"vectors.showMultilineVectors"),a=A().get(o,"intents.next")||[],c=A().get(e,"payload.response.noMoreQuestions"),u=A().get(e,"payload.response.loading.vector_loading"),s=c&&i&&u?{intents:a.join()}:{};A().has(e,"payload.response.loading.vector_loading")&&("true"!==(0,B.c)()[l.ai.STANDALONE]||"recVectors"!==(0,B.c)().mockNext)&&n((0,f.QX)(void 0,void 0,s))})),Me(ze,l.g9.RESULT_LOADED,(function(e,t,n){var r=t.result;if((0,h.Ed)({result:r})){var o=(0,h.iu)({result:r}),i=o.data,a=o.dataUnit,c=(0,h.yu)({result:r}),u=c.contractLength,s=c.contractLengthUnit,d=c.prices;n({type:l.g9.TRACKING.SUBSCRIPTION_MODIFIER_SHOWN,data:{defaultOptions:{upfrontCost:"".concat(i).concat(a),monthlyCost:d.monthlyCost,dataAmount:d.upfrontCost,contractLength:"".concat(u).concat(s)}}})}})),Me(ze,l.g9.REVISE_SUBSCRIPTION_MODIFIERS,(function(e,t,n){var r=e.payload,o=(0,h.IZ)(t),a=(0,i.CO)(t),c=De(t),l=(0,h.Y1)(t),u=(0,h.ae)(t),s=a.useSwitchBundleAPI,d=He(_e(r)),p=d[0],g=d.slice(1);if(!l.length&&n((0,j.C6)({originalModifiers:(0,h.m4)(t),activeTabIndex:o})),s){var m,b,y,v,O,E=function(e,t){return je(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||Fe(e,t)||Ue()}(g,2),S=E[0],C=E[1],T=u[p],w=null===(m=T)||void 0===m?void 0:m.modifiers[0].items[S],_=null===(b=w)||void 0===b?void 0:b.modifiers[0].items[C];(null===(y=_)||void 0===y?void 0:y.switchBundle)?n((0,f.EP)(_.switchBundle)):(null===(v=w)||void 0===v?void 0:v.switchBundle)?n((0,f.EP)(w.switchBundle)):(null===(O=T)||void 0===O?void 0:O.switchBundle)&&n((0,f.EP)(T.switchBundle)),n((0,j.eW)(p,o,void 0,s))}else g.length||n((0,j.eW)(p,o,void 0,s));n((0,j.CS)({levels:g,tariffIndex:p,labels:c}))})),Me(ze,l.g9.RESET_SUBSCRIPTION_MODIFIERS,(function(e,t,n){var r=(0,h.IZ)(t),o=(0,i.CO)(t),a=De(t),c=(0,h.ae)(t),l=o.useSwitchBundleAPI,u=He((0,h.Y1)(t)),s=u[0],d=u.slice(1);if(l){var p,g=c[0].switchBundle.orgBundleId,m={bundleId:g,orgBundleId:g,action:"replace"};(null===(p=c[1])||void 0===p?void 0:p.switchBundle)&&n((0,f.EP)(m,"tariffs"))}n((0,j.eW)(s,r,void 0,l)),n((0,j.CS)({levels:d,tariffIndex:s,labels:a}))})),Me(ze,l.g9.SEARCH_SUCCESS,(function(e,t,n){var r=He((0,h.m4)(t)),o=r[0],i=r.slice(1),a=De(t);n((0,j.CS)({levels:i,tariffIndex:o,labels:a}))})),Me(ze,l.g9.SWITCH_BUNDLE_SUCCESS,(function(e,t,n){if((0,h.Y1)(t).length){var r=He((0,h.m4)(t)),o=r[0],i=r.slice(1),a=De(t);n((0,j.CS)({levels:i,tariffIndex:o,labels:a}))}})),Me(ze,l.g9.REQUEST_BANK_HOLIDAYS,Ve),ze)),qe=n(6011),Xe=function(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){var o=n().config,i=void 0===o?{}:o;return r.type===l.g9.READY_TO_OPEN_SUCCESS&&t((0,qe.yy)(i.shield)),e(r)}}},Qe=n(1996),$e=n.n(Qe),Je=[{triggerAction:l.g9.TRACKING.SLIDER_ENGAGE,logic:function(e){var t=e.action,n=e.nextState,r=t.payload,o=r.answerId,i=r.answerText,a=r.defaultId,c=r.interactionId,l=r.interactionType,u=n.question||{},s=u.id,d=u.text;return{data:{pointId:"question_slider_engaged",answer_id:o,bo_reference_question:u.textId,question_default_answer:a,event_type:l,question_current_step:n.engine.progress?n.engine.progress.step:null,question_displayed_text:d,question_id:s,slide_value:i,user_slider_action_id:c}}}},{triggerAction:l.g9.TRACKING.SLIDER_RELEASE,logic:function(e){var t=e.action,n=e.nextState,r=t.payload,o=r.answerId,i=r.answerText,a=r.defaultId,c=r.interactionId,l=r.interactionType,u=n.question||{},s=u.id,d=u.text;return{data:{pointId:"question_slider_released",answer_id:o,bo_reference_question:u.textId,event_type:l,question_default_answer:a,question_current_step:n.engine.progress?n.engine.progress.step:null,question_displayed_text:d,question_id:s,slide_value:i,user_slider_action_id:c}}}}],Ze=[{triggerAction:l.g9.READY_TO_OPEN_REQUEST,logic:function(e){var t=e.action;return{data:{pointId:"user_logged_in"},shouldFire:!!(0,x.get)(t,"dataToSend.existing_customer",0)}}}],et=[{triggerAction:ne.cp.TRACKING.CHAT_CLICKED,logic:function(e){var t=e.action,n=(void 0===t?{}:t).payload;return{data:{pointId:"chat_clicked",buttonText:n.ctaText,context:n.context}}}},{triggerAction:ne.cp.TRACKING.CHAT_CTA_INITIAL_STATE,logic:function(e){return{data:{reason:e.action.payload,pointId:"third_party_chat_cta_initial_state"}}}},{triggerAction:ne.cp.TRACKING.CHAT_STATE_CHANGED,logic:function(e){return{data:{reason:e.action.payload,pointId:"chat_state_change"}}}}];function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:yt,t=arguments.length>1?arguments[1]:void 0;if(!t)return e;var n=t.data,r=void 0===n?{}:n,o=t.payload,i=void 0===o?{}:o,a=t.type,c=void 0===a?"":a,u=i.initialVisibleTabIndex,s=void 0===u?0:u,d=i.response,f=void 0===d?{}:d,p=i.result,g=void 0===p?{}:p;switch(c){case y.c.ENGINE_INIT:return mt({},e,i);case y.c.INIT_CART_INTEGRATOR:return bt(mt({},e),{cartIntegrator:i});case y.c.ENGINE_UPDATE_VISIBILITY:return bt(mt({},e),{suppress:i});case y.c.UPDATE_INTRO_COPY:return(0,pt.Ut)(e,(function(e){var t=i.key,n=i.value;(0,x.set)(e.introCopy,t,n)}));case y.c.SET_BRANCH_TEXT_ID:return bt(mt({},e),{btid:i});case l.g9.RESTORE_PERSISTED_VALUES:return bt(mt({},e),{searchId:(0,R.OW)(k.c.searchId),lastRecSearchId:(0,R.OW)(k.c.lastRecSearchId)});case y.c.INCREMENT_COMPLETED_NEXT_REQUESTS:return bt(mt({},e),{completedNextRequests:e.completedNextRequests+1});case l.g9.READY_TO_OPEN_REQUEST:return bt(mt({},e),{id:i.id||e.id,readyToOpenStatus:l.M5.PENDING,exitScreenSeen:!!(0,R.OW)(k.c.isExit)});case l.g9.READY_TO_OPEN_ERROR:return bt(mt({},e),{readyToOpenStatus:l.M5.ERROR});case l.g9.READY_TO_OPEN_SUCCESS:var m=!(i.isMinimiseDisabled||!i.isResult);return bt(mt({},e),{readyToOpenStatus:l.M5.SUCCESS,hotDelay:i.hotDelay,isHidden:i.isHidden,isReady:i.isReady||null,suppress:!!i.suppress,activeTests:i.activeTests||null,searchId:i.searchId,lastRecSearchId:i.lastRecSearchId||(0,R.OW)(k.c.lastRecSearchId)||null,funnelTextId:i.funnelTextId||null,pageTextId:i.pageTextId||null,propertyDetails:i.propertyDetails||null,branchTextId:i.branchTextId||null,engagementRules:i.engagementRules||null,introCopy:i.introCopy||null,canContinue:i.canContinue||null,isResult:i.isResult||null,minimise:m,page:i.page||null,engagementTimeout:i.engagementTimeout||null,engineTextId:i.engineTextId||null,pageId:i.pageId||null,featureFlags:i.featureFlags||null});case l.g9.NEXT_REQUEST:var b=r&&r.restart?l.Wm.RESTART:l.Wm.BACKWARD;return bt(mt({},e),{nextStatus:l.M5.PENDING,pageData:mt({},e.pageData||{},i.pageData||{}),searchUpdated:!1,journeyDirection:i.isBack?b:l.Wm.FORWARD});case l.g9.NEXT_ERROR:return bt(mt({},e),{nextStatus:l.M5.ERROR});case l.g9.NEXT_SUCCESS:var v=f.savedRecommendations||[],h=f.result||g,O=h.isExit,E=void 0!==O&&O,S=h.productData,C=void 0===S?null:S,T=C&&C.recommendation.length>1?s:0,w=null;return C?(w=C.recommendation[T])&&(document.cookie="handsetPartnerPropertyId=".concat(w.handsetPartnerPropertyId)):f.savedRecommendations&&f.savedRecommendations.length>0&&(w=[{}]),bt(mt({},e),{nextStatus:l.M5.SUCCESS,activeTests:f.activeTests||null,vars:f.vars||null,progress:f.progress||{},profileData:f.profileData||{},searchId:f.searchId||null,isResult:f.isResult||null,lastRecSearchId:f.isResult?f.searchId||null:e.lastRecSearchId,searchUpdated:!0,previousScreen:e.currentScreen,currentScreen:f.progress?ht(f.progress):null,completedNextRequests:e.completedNextRequests+1,savedLineCount:+f.savedLineCount,requestedLineCount:f.requestedLineCount,resultsId:f.resultsId,savedRecommendations:v,activeProduct:w,noMoreQuestions:f.noMoreQuestions,intents:f.noMoreQuestions?e.intents:f.intents,exitScreenSeen:E});case l.g9.SEARCH_SUCCESS:var _=g.productData&&g.productData.recommendation&&null!==g.activeTabIndex&&g.productData.recommendation[g.activeTabIndex];return mt({},e,_?{activeProduct:_}:{});case l.g9.SWITCH_BUNDLE_SUCCESS:var I=g.productData&&g.productData.recommendation&&null!==g.activeTabIndex&&g.productData.recommendation[g.activeTabIndex];return(0,pt.Ut)(e,(function(t){I&&(t.activeProduct=I),t.searchId=i.searchId,i.result.isExit&&(t.previousScreen=e.currentScreen,t.vars=mt({},t.vars,i.vars))}));case l.g9.RESULT_TAB_CLICKED:var A=!Number.isNaN(i.clickedTabIndex)&&i.recommendation&&i.recommendation[i.clickedTabIndex];return mt({},e,A?{activeProduct:A}:{});case l.g9.ENGAGEMENT.FULFILL_DELAY_RULE:var P=i.nestedIndex,N=i.rootIndex;return null===P?(0,pt.Ut)(e,(function(e){e.engagementRules[N].fulfilled=!0})):(0,pt.Ut)(e,(function(e){e.engagementRules[N][P].fulfilled=!0}));case y.c.CLEAR_RESULT_SCREEN:return bt(mt({},e),{searchId:null,lastRecSearchId:null,currentScreen:!1,journeyDirection:l.Wm.RESTART,isResult:null});case y.c.MANUAL_OPEN:case l.g9.ENGAGEMENT.ENGAGE_REASON:return bt(mt({},e),{hasEngaged:!0});case y.c.TOGGLE_ENGINE_OPEN:return bt(mt({},e),{open:!e.open,peek:!1});case y.c.TOGGLE_ENGINE_PEEK:return bt(mt({},e),{peek:i});case y.c.TOGGLE_MINIMISE:return bt(mt({},e),{minimise:!e.minimise});case l.g9.DEBUG_SEARCH_ID_CHANGE:return bt(mt({},e),{searchId:i.debugSearchId});case l.g9.WINDOW_RESIZE_END:return bt(mt({},e),{windowResizing:!1});case l.g9.WINDOW_RESIZE:return bt(mt({},e),{windowResizing:!0});case l.g9.WINDOW_SCROLL:return bt(mt({},e),{windowScrollTop:i.scrollTop});case y.c.ENGINE_SCROLL:return bt(mt({},e),{scrollTop:i.scrollTop});case y.c.ENGINE_TOGGLE_ENGINE_FOCUS:return bt(mt({},e),{pauseFocusTrap:i.pauseFocusTrap});case y.c.UPDATE_TAB_POSITION:return(0,pt.Ut)(e,(function(e){e.page.widgetPosition=i.value}));case y.c.UPDATE_PAGE_DATA:return bt(mt({},e),{pageData:mt({},e.pageData||{},i||{})});case l.g9.TRACKING.RESULT_LIGHTBOX_BUTTON_CLICK:return bt(mt({},e),{isModalOpen:!0});case l.g9.TRACKING.RESULT_LIGHTBOX_CLOSE:return bt(mt({},e),{isModalOpen:!1});case l.g9.SET_IS_IN_PAGE_OPEN:return bt(mt({},e),{isInPageOpen:i});case l.g9.INITIALISE:return yt;case y.c.SET_PARTNER_STATUS:return bt(mt({},e),{partnerStatus:i});case y.c.TOGGLE_AFTER_RESTART:return bt(mt({},e),{isAfterRestart:i});case y.c.TOGGLE_NEXT_DISABLED:return bt(mt({},e),{isNextButtonDisabled:!e.isNextButtonDisabled});default:return e}}var ht=function(e){return e&&e.totalQuestions?l._G.QUESTIONS:l._G.RESULT};function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Et(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,["event_name"]);return{data:xt({pointId:"".concat("external_trigger-").concat(r)},o)}}}],Pt="hot",Nt="reengage",Dt=[{triggerAction:l.g9.ENGAGEMENT.ENGAGE_REASON,logic:function(e){var t=e.action,n=e.nextState,r=e.prevState;return{data:{pointId:Pt,isControl:(0,s.mc)({engine:n.engine}),hot_type:"engagement_bubble"},shouldFire:(0,N.Y5)({action:t,state:r})&&!(0,R.OW)(k.c.hot)}}},{triggerAction:l.g9.ENGAGEMENT.ENGAGE_REASON,logic:function(e){var t=e.action,n=e.prevState;return{data:{pointId:Nt,reengage_type:"engagement_bubble"},shouldFire:!(0,N.Y5)({action:t,state:n})&&(0,N.iK)({action:t,state:n})}}},{triggerAction:l.g9.TRACKING.SHOW_IN_PAGE,logic:function(e){var t=e.nextState;return{data:{pointId:Pt,isControl:(0,s.mc)({engine:t.engine}),hot_type:"inpage"},shouldFire:!(0,R.OW)(k.c.hot)&&!(0,te.yO)(t)}}},{triggerAction:l.g9.TRACKING.SHOW_IN_PAGE,logic:function(e){var t=e.action,n=e.prevState;return{data:{pointId:Nt,reengage_type:"inpage"},shouldFire:!(0,N.Y5)({action:t,state:n})&&(0,N.iK)({action:t,state:n})}}},{triggerAction:l.g9.TRACKING.CLICKED_LAUNCHPAD,logic:function(e){var t=e.nextState;return{data:{pointId:Pt,isControl:(0,s.mc)({engine:t.engine}),hot_type:"launchpad_click"},shouldFire:!(0,R.OW)(k.c.hot)&&!(0,te.yO)(t)}}},{triggerAction:l.g9.TRACKING.CLICKED_LAUNCHPAD,logic:function(e){var t=e.action,n=e.prevState;return{data:{pointId:Nt,reengage_type:"launchpad_click"},shouldFire:!(0,N.Y5)({action:t,state:n})&&(0,N.iK)({action:t,state:n})}}},{triggerAction:l.g9.MANUAL_OPEN,logic:function(e){var t=e.nextState;return{data:{pointId:Pt,isControl:(0,s.mc)({engine:t.engine}),hot_type:"tab_click"},shouldFire:!(0,R.OW)(k.c.hot)&&!(0,te.yO)(t)}}},{triggerAction:l.g9.MANUAL_OPEN,logic:function(e){var t=e.action,n=e.prevState;return{data:{pointId:Nt,reengage_type:"tab_click"},shouldFire:!(0,N.Y5)({action:t,state:n})&&(0,N.iK)({action:t,state:n})}}},{triggerAction:q.c.HOT,logic:function(e){var t=e.nextState;return{data:{pointId:Pt,isControl:(0,s.mc)({engine:t.engine}),hot_type:"timeout"},shouldFire:!(0,R.OW)(k.c.hot)}}},{triggerAction:q.c.HOT,logic:function(e){var t=e.prevState.engine,n=void 0===t?{}:t,r=n.engine,o=(void 0===r?{}:r).featureFlags,i=void 0===o?{}:o,a=(0,N.gz)({engine:n});return{data:{pointId:Nt,reengage_type:"timeout"},shouldFire:i.allow_reengagement&&!(0,R.OW)(a)}}}],Rt=[{triggerAction:l.g9.TRACKING.IN_PAGE_POSITION,logic:function(e){var t=e.action;return{data:{pointId:"inpage_position",selector:t.payload.DOMLocation.selector,method:t.payload.DOMLocation.method}}}},{triggerAction:l.g9.TRACKING.SHOW_IN_PAGE,logic:function(){return{data:{pointId:"show_inpage"}}}},{triggerAction:l.g9.TRACKING.CLICKED_IN_PAGE,logic:function(){return{data:{pointId:"clicked_inpage"}}}}],kt=n(1960);function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lt=[{triggerAction:[l.g9.TAB_SHOW,l.g9.TAB_HIDE],logic:function(e){var t=e.action,n=e.nextState;return{data:{pointId:t.type===l.g9.TAB_SHOW?"tab_show":"tab_hide",tab_text:n.result?n.config.copy.savedRecText:n.config.copy.hmcText}}}},{triggerAction:fe.aA.NEXT_SURVEY_QUESTION,logic:function(e){var t,n,r,o,i,a,c=e.prevState,l=JSON.stringify((i=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:Dn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case l.g9.NEXT_SUCCESS:return function(e,t){return t.payload.response.question?Nn(Pn({},e),{collection:t.payload.response.question.answers}):e}(e,t);case l.g9.TOGGLE_ANSWER:return function(e,t){var n,r=t.payload.questionType,o=t.payload.answer,i=null===(n=o)||void 0===n?void 0:n.isDeselect,a=o.textId.replace(l.Eh.GROUP_FROM_ANSWER_TEXT_ID,""),c=r===l.cX.NUMBER?[o]:e.collection,u=(0,xn.c)(c).map((function(e){var n=t.payload.answer.textId===e.textId;return(r===l.cX.API||r===l.cX.RADIO||r===l.cX.SLIDER||r===l.cX.MULTI_SLIDER&&e.textId.indexOf(a)>-1)&&(e.selected=n),r===l.cX.CHECK&&(n?e.selected=!e.selected:(i||!i&&e.isDeselect)&&(e.selected=!1)),e}));return Nn(Pn({},e),{collection:u})}(e,t);case l.g9.INITIALISE:return Dn;default:return e}}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jn(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:Mn,t=arguments.length>1?arguments[1]:void 0;if(!t)return e;var n=t.payload,r=void 0===n?{}:n,o=t.type;switch(void 0===o?"":o){case ne.cp.INIT_CHAT_SETTINGS:return Ln(jn({},e),{config:jn({},e.config,r)});case ne.cp.TRACKING.CHAT_OPENED:return Ln(jn({},e),{isActive:!0});case ne.cp.TRACKING.CHAT_CLOSED:return Ln(jn({},e),{isActive:!1});case ne.cp.SHOW_CHAT_BUTTON:return Ln(jn({},e),{isShowChatButton:!0});case ne.cp.HIDE_CHAT_BUTTON:return Ln(jn({},e),{isShowChatButton:!1});case l.g9.NEXT_SUCCESS:if(r.response&&r.response.result){var i=e.config,a=t.payload.response.vars.isExistingCustomer,c=void 0!==a&&a,u=i.isShowForAllCustomers||!c;return Ln(jn({},e),{isFulfilledRulesForRender:u,isShowChatButton:u})}return e;case l.g9.INITIALISE:return Mn;default:return e}}var Un=n(8084),Hn=n.n(Un),Gn=function(e,t){return Hn().all([e,A().get(t,"payload.launchpad")||{}],{arrayMerge:function(e,t){return t}})},Fn=(0,n(3908).c)();function Wn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case l.g9.READY_TO_OPEN_SUCCESS:return Gn(e,t);case l.g9.INITIALISE:return Fn;default:return e}}var Kn=n(6728);function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,Kn.c)(),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case l.g9.INITIALISE:case l.g9.WINDOW_RESIZE:return Object.assign({},e,function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:qn,t=arguments.length>1?arguments[1]:void 0;if(!t)return e;var n,r,o=t.payload,i=void 0===o?{}:o,a=t.type;return(void 0===a?"":a)===l.g9.ENGAGEMENT.SUPPRESS?(n=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:Qn}function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zn(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:tr,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.payload;switch(t.type){case l.g9.RESTORE_PERSISTED_VALUES:return er(Zn({},e),{preferredInterfaceType:(0,R.OW)(k.c.inPageInterfaceType)||l.sz.UNSET});case ie.cp.UPDATE_INPAGE_INTERFACE_TYPE:return er(Zn({},e),{preferredInterfaceType:n||l.sz.UNSET});case l.g9.READY_TO_OPEN_SUCCESS:return Zn({},e,n.inPage);case l.g9.INITIALISE:return tr;default:return e}}function rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var or=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1};return function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(t,n){return r=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:dr,t=arguments.length>1?arguments[1]:void 0,n=t.payload,r=void 0===n?"":n,o=t.type;switch(void 0===o?"":o){case fe.aA.INIT_LAUNCHER:return ur({},cr(e)(r));case l.g9.TOGGLE_BUBBLE:return Object.assign({},e,{bubble:sr(ur({},e.bubble),{isBubbleOpen:t.isBubbleOpen})});case l.g9.TAB_SHOW:return sr(ur({},e),{launcher:sr(ur({},e.launcher),{isShown:!0})});case l.g9.CLOSE_BUBBLE:return Object.assign({},e,{bubble:sr(ur({},e.bubble),{isBubbleOpen:!1}),overlayEngagement:{isShown:!1}});case l.g9.SHOW_BUBBLE:return Object.assign({},e,{bubble:sr(ur({},e.bubble),{isBubbleOpen:!0,bubbleType:t.bubbleType})});case l.g9.ENGAGEMENT.ENGAGE:return Object.assign({},e,{bubble:sr(ur({},e.bubble),{bubbleType:l.gR.ENGAGEMENT,isBubbleOpen:!0})});case l.g9.ENGAGEMENT.OVERLAY_ENGAGE:return Object.assign({},e,{overlayEngagement:{isShown:!0},bubble:{isBubbleOpen:!1}});case y.c.TOGGLE_ENGINE_OPEN:return Object.assign({},e,{bubble:sr(ur({},e.bubble),{isBubbleOpen:t.isOpen}),overlayEngagement:{isShown:!1}});case fe.aA.UPDATE_LAUNCHER_COPY:return(0,pt.Ut)(e,(function(e){var t=r.key,n=r.value;(0,x.set)(e.copy,t,n)}));case fe.aA.GET_FEEDBACK_QUESTIONS_SUCCESS:return sr(ur({},e),{surveyQuestions:r});case fe.aA.ANSWER_SURVEY_QUESTION:var i=r.answer,a=r.questionId,c=or((function(e){return e.value===i}));return(0,pt.Ut)(e,(function(e){var t=e.surveyQuestions[a].items;e.surveyQuestions[a].items=c(t)}));case fe.aA.NEXT_SURVEY_QUESTION:var u=r.questionId,s=or((function(e,t){return t===u}));return(0,pt.Ut)(e,(function(e){var t=e.surveyQuestions;e.surveyQuestions=s(t)}));case l.g9.INITIALISE:return dr;default:return e}}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gr(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:yr,r=arguments.length>1?arguments[1]:void 0,o=r.payload,i=void 0===o?{}:o,a=r.type;switch(void 0===a?"":a){case mr:return gr({},n,i.launchpad);case br:return e=gr({},n),t=null!=(t={isInserted:i})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e;case l.g9.INITIALISE:return yr;default:return n}}function hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:Sr,t=arguments.length>1?arguments[1]:void 0,n=e&&e.force,r=e&&e.loadType&&(e.loadType===l.oJ.INTRO_TIMED||e.loadType===l.oJ.VECTOR);switch(t.type){case y.c.ENGINE_RESTART:return Tr(e);case l.g9.NEXT_REQUEST:return Object.assign({},n||e);case l.g9.NEXT_ERROR:return Object.assign({},{error:t.error});case l.g9.NEXT_SUCCESS:return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.payload,r=void 0===n?{}:n,o=t.timeout,i=r.completedNextRequests,a=void 0===i?0:i,c=r.loadingConfig,u=void 0===c?{}:c,s=r.response,d=void 0===s?{}:s,f=u.beforeResult,p=a<1,g=(0,x.get)(d,"loading.vector_loading")||{},m=(0,x.get)(d,"loading.ai_loading_vectors")||{},b=!!(0,x.get)(d,"result.isExit"),y=Object.keys(g).length>0&&(!!g.vectors||!!g.title),v=Object.keys(m).length>0&&""!==m.data.partner&&""!==m.url&&m.data.questionAnswers.length>0,h=!p&&!b&&f&&(y||v),O=e&&e.loadType===l.oJ.INTRO_TIMED,E=e&&(e.loadType===l.oJ.VECTOR||e.loadType===l.oJ.VECTOR_AI);if(h){var S=g.title,C=void 0===S?"":S,T=g.vectors,w=void 0===T?[]:T,_=v?{ai:m}:{};return Er(Or({},e),{timeout:o,loadType:v?l.oJ.VECTOR_AI:l.oJ.VECTOR,vectors:Er(Or({},_),{header:C,list:w})})}return O||E?e:null}(e,t);case l.g9.READY_TO_OPEN_REQUEST:return Object.assign({},{loadType:t.loadType,timeout:t.timeout});case l.g9.READY_TO_OPEN_SUCCESS:return Object.assign({},e&&r?e:{loadType:t.loadType,timeout:t.timeout});case l.g9.READY_TO_OPEN_ERROR:return Object.assign({},{error:t.error});case l.g9.LOADING.CLEAR_LOADING:return Sr;case l.g9.LOADING.FORCE_LOADING:return{force:!0,message:t.payload};case l.g9.INITIALISE:return Sr;default:return e}}var Tr=function(){return Er(Or({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),{loadType:l.oJ.START_AGAIN})};function wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:xr,t=arguments.length>1?arguments[1]:void 0;if(!t)return e;var n=t.payload,r=void 0===n?{}:n,o=t.type;switch(void 0===o?"":o){case l.g9.SHOW_MODAL:return Ir(_r({},e),{props:r.modalProps,type:r.modalType});case l.g9.HIDE_MODAL:return Ir(_r({},xr),{addMoreLines:e.addMoreLines});case l.g9.SHOW_ADD_MORE_LINES_MODAL:return Ir(_r({},e),{addMoreLines:r});default:return e}}function Pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nr=(0,n(4500).c)({});function Dr(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nr,r=arguments.length>1?arguments[1]:void 0,o=r.payload,i=void 0===o?{}:o,a=r.type;return(void 0===a?"":a)===l.u6.POSTCODE_CHECKER_ADDRESS_CHOSEN?(e=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:Rr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case l.g9.NEXT_SUCCESS:return jr(e,t);case l.g9.QUESTION_ACCORDION_TOGGLE:return Lr(e,t);case l.g9.INITIALISE:return Rr;default:return e}}var jr=function(e,t){if(t.payload.response.question){var n=Object.assign({},t.payload.response.question);return delete n.answers,n}return null},Lr=function(e,t){var n=t.payload;return(0,pt.Ut)(e,(function(e){var t=e.accordions.findIndex((function(e){return e.id===n})),r=e.accordions[t].isOpen;e.accordions[t].isOpen=!r}))},Mr=n(7620),Br=function(e,t){var n=e.contractLength,r=e.flexTotalDeviceCost,o=e.upfrontCost,i=Number((0,Mr.c)(r-o)),a=Number((0,Mr.c)(i/n*100));return(t?Math.ceil(a):Math.round(a))/100},Ur=function(e){var t=e.tariffs;return function(e){var n=t.find((function(e){return e.active}))||!1;return Number((Number(e)+Number(n.prices.costMonthlyTariff)).toFixed(2))}};function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gr=function(e){var t,n,r=e.nextState,o=e.prevState,i=r.productData.recommendation[r.activeTabIndex],a=i.tariffs.find((function(e){return e.active}))||!1,c=Number(a.contractFlexDefault),l=o.flex.upfrontCost,u=Number(i.totalDeviceCost),s=Br({contractLength:c,upfrontCost:l,flexTotalDeviceCost:u},r.isPartnerRoundingPricesWithCeil),d=Ur(i)(s);return t=function(e){for(var t=1;t=0?Br(g,c.isPartnerRoundingPricesWithCeil):0},b=null!=b?b:{},Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(b)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(b)).forEach((function(e){Object.defineProperty(m,e,Object.getOwnPropertyDescriptor(b,e))})),m)};return Object.assign({},y)},zr=n(5048);function Vr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return Yr(e.slice(0,t)).concat(Yr(n?[n]:[]),Yr(e.slice(t+1)))}},Xr=function(e,t){return(0,pt.Ut)(e,(function(e){var n=(0,en._M)({result:e},t.payload.propertyId);n.active=!n.active}))},Qr=function(e,t,n){return Math.min(Math.max("string"==typeof e?parseInt(e,10):e,t),n)};function $r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jr(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:oo,t=arguments.length>1?arguments[1]:void 0,n=t.data,r=void 0===n?{}:n,o=t.payload,i=void 0===o?{}:o;switch(t.type){case l.g9.NEXT_SUCCESS:return function(e,t){var n=A().get(t,"payload.response"),r=A().get(n,"result"),o=A().get(r,"productData.recommendation"),i=A().get(n,"loading.vector_loading",null),a="object"==typeof i&&null!==i&&i,c=A().get(r,"deviceConnectionChargeModal");if(r&&o&&o.length&&!r.isExit){r.isPartnerRoundingPricesWithCeil=A().get(t,"payload.isPartnerRoundingPricesWithCeil"),r.saveUpfrontCostInFlex=A().get(t,"payload.saveUpfrontCostInFlex"),r.shouldUpdateContractFlexDefaultDuringSwitchBundle=A().get(t,"payload.shouldUpdateContractFlexDefaultDuringSwitchBundle");var u,s,d=n.vars.recommendationScreenType===l.U9.MULTILINE_MIXED_TARIFFS,f=o.length>1&&!d?t.payload.initialVisibleTabIndex:0,p=A().get(o[f],"insurancePlans",[]).some((function(e){return e.active})),g={};return o[f].tariffs&&(o[f].tariffs.forEach((function(e,t){e.active&&(u=e.propertyId,s=t)})),g=Kr({state:r,action:{data:{activeTabIndex:f}}})),ro(no(ro(no({},r),{activeProductId:o[f].productId,activeInsuranceIndexes:[],activeTabIndex:f,activeTariff:u,activeTariffIndex:s,auth:A().get(n,"vars.oauth2"),currentScreenIndex:-1,deviceConnectionChargeModal:c,firstLoadComplete:!1,flex:{}}),g),{isAutoPayActive:!0,isExistingCustomer:n.vars.isExistingCustomer,isExistingPartneredCustomer:n.vars.isExistingPartneredCustomer,isFlexScreen:!1,isProtectionScreen:!1,isUpgrade:n.vars.isUpgrade,initialTabIndex:f,insuranceOptionChosen:p,lastProtectionCardClickedIndex:0,loadingVectors:a,oldActiveProductId:null,oldActiveTariff:null,recommendedSubscriptionModifiers:[],stateSwitchToggleOn:!1})}return a||r||null}(0,t);case l.g9.CLEAR_RESULT_LOADING:return(0,pt.Ut)(e,(function(e){e.loading=!1}));case l.g9.TOGGLE_TARIFF_ACCORDION:return(0,pt.Ut)(e,(function(t){var n=t.productData.recommendation[e.activeTabIndex||0].isAlternativeTariffsOpen;t.productData.recommendation[e.activeTabIndex||0].isAlternativeTariffsOpen=!n}));case l.g9.TOGGLE_AUTOPAY:return(0,pt.Ut)(e,(function(e){var t=e.isAutoPayActive;e.isAutoPayActive=!t}));case l.g9.TOGGLE_SPECIFICATION_ACCORDION:return(0,pt.Ut)(e,(function(t){var n=t.productData.recommendation[e.activeTabIndex].isSpecificationOpen;t.productData.recommendation[e.activeTabIndex].isSpecificationOpen=!n}));case l.g9.TOGGLE_COLOUR_CAPACITY_ACCORDION:return(0,pt.Ut)(e,(function(t){var n=t.productData.recommendation[e.activeTabIndex].isColorCapacityOpen;t.productData.recommendation[e.activeTabIndex].isColorCapacityOpen=!n}));case l.g9.TARIFF_BENEFIT_ACCORDION:return(0,pt.Ut)(e,(function(n){var r=n.productData.recommendation[e.activeTabIndex||0].tariffs[t.payload.benefitAccordionIndex].isAlternativeBenefitsOpen||t.payload.isBenefitAccordionOpen;n.productData.recommendation[e.activeTabIndex||0].tariffs[t.payload.benefitAccordionIndex].isAlternativeBenefitsOpen=!r}));case l.g9.INSURANCE_BENEFIT_ACCORDION:return(0,pt.Ut)(e,(function(n){var r=n.productData.recommendation[e.activeTabIndex||0].insurancePlans[t.payload.benefitAccordionIndex].isAlternativeBenefitsOpen||t.payload.isBenefitAccordionOpen;n.productData.recommendation[e.activeTabIndex||0].insurancePlans[t.payload.benefitAccordionIndex].isAlternativeBenefitsOpen=!r}));case l.g9.SEARCH_REQUEST:return Object.assign({},e,{loading:t.loading,previousOptionType:t.optionType});case l.g9.SEARCH_SUCCESS:var a=A().get(t,"payload.result"),c=A().get(a,"activeTabIndex"),s=t.payload.result.productData.recommendation[c].tariffs,d=void 0===s?[]:s,f=d.length>0&&d.filter((function(e){return e.active})),p=f?f[0]&&f[0].productId:t.payload.result.productData.recommendation[c].productId,g=Kr({state:a,action:{data:{activeTabIndex:c}}}),m=e.flex.isChanged?eo({nextState:g,prevState:e}):g.flex;return ro(no({},e,t.payload.result),{activeProductId:p,flex:m,loading:!1,oldActiveProductId:e.activeProductId});case l.g9.SWITCH_BUNDLE_REQUEST:return(0,pt.Ut)(e,(function(e){e.loading=t.loading,e.previousOptionType=t.optionType}));case l.g9.SWITCH_BUNDLE_SUCCESS:return(0,pt.Ut)(e,(function(n){if(r.isUsingBulkPurchase&&i.result.isExit)n.productData=i.result.productData,n.exitScreenData=i.result.exitScreenData,n.isExit=i.result.isExit,n.isPostResultExitScreen=!0;else{var o=e.productData.recommendation[e.activeTabIndex||0],a=t.payload.result.productData.recommendation[0],c=function(e){return e.tariffs.length>0&&e.tariffs.filter((function(e){return e.active}))},l=c(o),u=c(a),s=o.tariffs.length>0&&o.tariffs.map((function(e){var t=e.contractLength;return{name:e.name,contractLength:t}})),d=s&&a.tariffs.filter((function(e){return s.map((function(t){return t.name===e.name&&t.contractLength===e.contractLength})).includes(!0)})),f=s&&d.length?d.sort((function(e,t){return s.findIndex((function(t){return t.name===e.name&&t.contractLength===e.contractLength}))-s.findIndex((function(e){return e.name===t.name&&e.contractLength===t.contractLength}))})):a.tariffs;u?(n.activeProductId=u[0].productId,n.activeTariff=u[0].propertyId):n.activeProductId=a.productId,n.loading=!1,n.productData.recommendation[e.activeTabIndex||0]=ro(no({},a),{handsetName:o.handsetName,tabHeader:o.tabHeader,tabs:o.tabs,tariffs:f.map((function(e){return ro(no({},e),{vectors:l[0].vectors})})),match:o.match});var p=e.saveUpfrontCostInFlex&&"devicePaymentPlans"===r.optionType?Gr({prevState:e,nextState:n}):Kr({shouldUpdateContractLengthDefault:e.shouldUpdateContractFlexDefaultDuringSwitchBundle,state:n,action:{data:{activeTabIndex:e.activeTabIndex}}}).flex;n.flex=p,n.oldActiveProductId=e.activeProductId,n.oldActiveTariff=e.activeTariff,n.profileData=t.payload.profileData,n.insuranceOptionChosen=(0,h.ol)({result:n})}}));case l.g9.SWITCH_BUNDLE_MEDIA_SUCCESS:return(0,pt.Ut)(e,(function(e){e.product=i.product}));case l.g9.RESULT_TAB_CLICKED:var b,y,v=e.productData.recommendation[t.payload.clickedTabIndex],O=v.productId,E=v.tariffs;E&&E.forEach((function(e,t){e.active&&(b=e.propertyId,y=t)}));var S=Kr({state:e,action:{data:{activeTabIndex:t.payload.clickedTabIndex}}}),C=e.savedFlex||[];C[e.activeTabIndex]=e.flex;var T=C[t.payload.clickedTabIndex]||S.flex,w=ro(no({},e,t.payload.result),{activeProductId:O,activeTabIndex:t.payload.clickedTabIndex,activeTariff:b,activeTariffIndex:y,flex:T,loading:!1,oldActiveProductId:e.activeProductId,savedFlex:C});return ro(no({},w),{insuranceOptionChosen:(0,h.ol)({result:w})});case l.g9.UPDATE_ACTIVE_WARRANTY:var _=or((function(e,n){return n===t.payload.id}));return(0,pt.Ut)(e,(function(t){var n=t.productData.recommendation[e.activeTabIndex].extendedWarranty;t.productData.recommendation[e.activeTabIndex].extendedWarranty=_(n)}));case l.g9.TARIFF_CARD_CLICK:var I=t.payload,x=I.activeTabIndex,P=I.clickedTariffCardIndex,N=I.recommendationScreenType;if(!I.useSwitchBundleAPI){var D=e.activeTabIndex||0,R=N===l.U9.MULTILINE_SHARED_TARIFFS,k=lo(e.productData.recommendation[D].tariffs,t);return(0,pt.Ut)(e,(function(n){if(n.oldActiveProductId=e.activeProductId,n.activeProductId=e.productData.recommendation[x||0].tariffs[P].productId,R){var r=e.productData.recommendation.map((function(e){return lo(e.tariffs,t)}));n.productData.recommendation.forEach((function(e,t){n.productData.recommendation[t].tariffs=r[t].tariffs}))}else n.productData.recommendation[D].tariffs=k.tariffs;n.oldActiveTariff=e.activeTariff,n.activeTariff=k.updatedActiveTariff,n.activeTariffIndex=P}))}return e;case l.g9.FLEX_RESET_INCREMENT:var j=e.productData.recommendation[e.activeTabIndex];return e.flex.upfrontCost=e.flex.upfrontCostDefault,e.flex.contractLength=e.flex.contractLengthDefault,e.flex.upfrontCost=e.flex.upfrontCostDefault,e.flex.contractLength=e.flex.contractLengthDefault,e.flex.upfrontCost=e.flex.upfrontCostDefault,e.flex.contractLength=e.flex.contractLengthDefault,e.flex.deviceMonthlyCost=Br(e.flex,e.isPartnerRoundingPricesWithCeil),e.flex.totalMonthlyCost=Ur(j)(Br(e.flex,e.isPartnerRoundingPricesWithCeil)),Object.assign({},e);case l.g9.CHANGE_TO_SCREEN:var L=(0,pt.Ut)(e,(function(t){e.isAccessoriesScreen&&(t.isAccessoriesScreen=!1),e.isAddonsScreen&&(t.isAddonsScreen=!1),e.isFlexScreen&&(t.flex.deviceMonthlyCost=Br(t.flex,t.isPartnerRoundingPricesWithCeil),t.isFlexScreen=!1),e.isProtectionScreen&&(t.isProtectionScreen=!1)}));switch(t.data.screen){case l.cn.ACCESSORIES:return go({nextScreenIndex:t.data.nextScreenIndex,state:L});case l.cn.ADDONS:return ro(no({},L),{currentScreenIndex:t.data.nextScreenIndex,isAddonsScreen:!0});case l.cn.FLEX:return ro(no({},L),{currentScreenIndex:0,isFlexScreen:!0});case l.cn.PROTECTION:return po({nextScreenIndex:t.data.nextScreenIndex,state:L});default:return ro(no({},L),{currentScreenIndex:t.data.nextScreenIndex})}case l.g9.INSURANCE_CARD_CLICK:var M,B,U=[],H=t.payload.isMultipleInsurance,G=e.productData.recommendation[e.activeTabIndex].insurancePlans,F=G.findIndex((function(e){return"1"===e.isDeclineInsurance})),W=G.some((function(e){return e.active&&"1"===e.isDeclineInsurance})),K=G.map((function(e,n){var r;r=t.payload.clickedInsuranceCardIndex===n?-1!==F||!e.active:e.active;var o=U.indexOf(n);return W&&n!==F&&(G[F].active=!1),r&&-1===o?U.push(n):!r&&o>-1&&U.splice(o,1),ro(no({},e),{active:r})}));!H&&(null===(M=K[t.payload.clickedInsuranceCardIndex])||void 0===M?void 0:M.active)&&((U=[]).push(t.payload.clickedInsuranceCardIndex),K.forEach((function(e,n){return n!==t.payload.clickedInsuranceCardIndex?e.active=!1:null}))),F>-1&&(null===(B=K[F])||void 0===B?void 0:B.active)&&((U=[]).push(F),K.forEach((function(e){return"1"!==e.isDeclineInsurance?e.active=!1:null})));var z=(0,pt.Ut)(e,(function(t){t.productData.recommendation[e.activeTabIndex].insurancePlans=K}));return ro(no({},e,z),{insuranceOptionChosen:!0,activeInsuranceIndexes:U,lastProtectionCardClickedIndex:t.payload.clickedInsuranceCardIndex});case l.g9.INSURANCE_LAST_CLICKED:return ro(no({},e),{lastProtectionCardClickedIndex:t.payload.lastProtectionCardClickedIndex});case l.g9.INSURANCE_CARD_DESELECT:var V=i.id;return(0,pt.Ut)(e,(function(t){t.productData.recommendation[e.activeTabIndex].insurancePlans[V].active=!1,t.insuranceOptionChosen=t.productData.recommendation[e.activeTabIndex].insurancePlans.some((function(e){return e.active}))}));case l.g9.FLEX_TARIFF_DATA_INCREMENT:var Y="decrease"===t.payload.action?e.flex.dataAmountPosition-1:e.flex.dataAmountPosition+1,q=e.activeTabIndex,X=e.productData.recommendation[q],Q=e.flex.dataAmountIncrement[e.flex.dataAmountPosition],$=e.flex.dataAmountIncrement[Y],J=X.tariffs.find((function(e){return e.data===$})),Z=X.tariffs.map((function(e){return ro(no({},e),{active:e.data===J.data||e.data!==Q&&e.active})})),ee=Br(e.flex,e.isPartnerRoundingPricesWithCeil),te=Ur({tariffs:Z})(ee);return ro(no({},e),{flex:ro(no({},e.flex),{dataAmountPosition:Y,updateCounter:Number(e.flex.updateCounter)+1,deviceMonthlyCost:ee,totalMonthlyCost:te}),productData:ro(no({},e.productData),{recommendation:qr(e.productData.recommendation,q)(ro(no({},X),{tariffs:Z}))})});case l.g9.FLEX_CONTRACT_LENGTH_INCREMENT:var ne="decrease"===t.payload.action?co(e.flex.contractIncrement)(e.flex.contractLength)(e.flex.contractLengthMin,e.flex.contractLengthMax):ao(e.flex.contractIncrement)(e.flex.contractLength)(e.flex.contractLengthMin,e.flex.contractLengthMax);return(0,pt.Ut)(e,(function(t){t.flex=ro(no({},e.flex),{contractLength:ne,deviceMonthlyCost:Br(ro(no({},e.flex),{contractLength:ne}),e.isPartnerRoundingPricesWithCeil),isChanged:!0,totalMonthlyCost:Ur(e.productData.recommendation[e.activeTabIndex])(Br(ro(no({},e.flex),{contractLength:ne}),e.isPartnerRoundingPricesWithCeil)),updateCounter:Number(e.flex.updateCounter)+1})}));case l.g9.FLEX_UPFRONT_COST_INCREMENT:var re=e.flex.upfrontCostIncrement,oe=null===e.productData.recommendation[e.activeTabIndex].tariffs[e.activeTariffIndex].prices.costUpfrontFlexIncrement,ie=oe&&Number(e.flex.upfrontCost)===e.flex.upfrontCostMax&&e.flex.upfrontCostIncrement,ae=oe&&("decrease"===t.payload.action?(0,u.UH)(l.Af.UPFRONT_COST_DECREMENT,{costUpfrontFlexLowerBoundary:e.flex.upfrontCostMin,firstDecrement:ie,upfrontCost:e.flex.upfrontCost}):(0,u.UH)(l.Af.UPFRONT_COST_INCREMENT,{costUpfrontFlexUpperBoundary:e.flex.upfrontCostMax,upfrontCost:e.flex.upfrontCost})),ce="decrease"===t.payload.action?co(ae||re)(e.flex.upfrontCost)(e.flex.upfrontCostMin,e.flex.upfrontCostMax,!!ie):ao(ae||re)(e.flex.upfrontCost)(e.flex.upfrontCostMin,e.flex.upfrontCostMax);return(0,pt.Ut)(e,(function(t){t.flex=ro(no({},e.flex),{deviceMonthlyCost:Br(ro(no({},e.flex),{upfrontCost:ce}),e.isPartnerRoundingPricesWithCeil),isChanged:!0,totalMonthlyCost:Ur(e.productData.recommendation[e.activeTabIndex])(Br(ro(no({},e.flex),{upfrontCost:ce}),e.isPartnerRoundingPricesWithCeil)),updateCounter:Number(e.flex.updateCounter)+1,upfrontCost:ce.toFixed(2),upfrontCostIncrement:ae||re})}));case l.g9.CANCEL_INSURANCE_SELECTION:return(0,pt.Ut)(e,(function(e){if(e.productData.recommendation[e.activeTabIndex].insurancePlans){var t=e.productData.recommendation[e.activeTabIndex].insurancePlans.map((function(e){return e.active=!1,e}));e.productData.recommendation[e.activeTabIndex].insurancePlans=t}e.insuranceOptionChosen=!1,e.activeInsuranceIndexes=[]}));case l.g9.CONFIRM_INSURANCE_SELECTION:var le,ue=t.payload.isMultipleInsurance,se=[],de=e.productData.recommendation[e.activeTabIndex].insurancePlans.map((function(e,n){var r=t.payload.clickedInsuranceCardIndex===n?!e.active:e.active,o=se.indexOf(n);return r&&-1===o?se.push(n):!r&&o>-1&&se.splice(o,1),ro(no({},e),{active:r})}));!ue&&(null===(le=de[t.payload.clickedInsuranceCardIndex])||void 0===le?void 0:le.active)&&((se=[]).push(t.payload.clickedInsuranceCardIndex),de.forEach((function(e,n){return n!==t.payload.clickedInsuranceCardIndex?e.active=!1:null})));var fe=(0,pt.Ut)(e,(function(t){t.productData.recommendation[e.activeTabIndex].insurancePlans=de}));return ro(no({},fe),{insuranceOptionChosen:!0,activeInsuranceIndexes:se});case l.g9.INSURANCE_STATE_SWITCH:var pe=e.stateSwitchToggleOn;return ro(no({},e),{stateSwitchToggleOn:!pe});case l.g9.SAVE_SUBSCRIPTION_MODIFIERS:var ge=i.originalModifiers;return(0,pt.Ut)(e,(function(e){var t=e.activeTabIndex;e.productData.recommendation[t].originalModifiers=ge}));case l.g9.UPDATE_SUBSCRIPTION_MODIFIERS:var me=i.labels,be=i.levels,ye=i.tariffIndex;return(0,pt.Ut)(e,(function(e){var t=e.activeTabIndex,n=e.productData,r=n.recommendation[t].tariffs[ye],o=r&&r.modifiers;r&&(n.recommendation[t].tariffs[ye].modifiers=Re({modifiers:o,levels:be,labels:me}))}));case l.g9.ADDITIONAL_INFORMATION_CLICK:var ve=t.payload.additionalInformationId;return(0,pt.Ut)(e,(function(e){var t=e.activeTabIndex||0,n=e.productData.recommendation[t].additionalInformation.map((function(e){return e.additionalInformationId===ve&&(e.openState=!e.openState),e}));e.productData.recommendation[t].additionalInformation=n}));case l.g9.ACCESSORY_TOGGLE:var he=t.payload,Oe=he.categoryIndex,Ee=he.index,Se=e.productData.recommendation[e.activeTabIndex],Ce=Se&&Se.accessories,Te=Se&&Se.tariffs,we=(0,zr.c)(Te).addons,_e=void 0===we?[]:we;return(0,pt.Ut)(e,(function(e){if(Ce){var t=so(Ce,Ee,Oe);e.productData.recommendation[e.activeTabIndex].accessories=t}if(_e.length){var n=fo(_e,Ee);e.productData.recommendation[e.activeTabIndex].tariffs[e.activeTariffIndex].addons=n}}));case l.g9.SET_IS_BANK_HOLIDAY:return ro(no({},e),{isBankHoliday:t.payload.isBankHoliday});case l.g9.TOGGLE_ADDON:return Xr(e,t);case l.g9.INITIALISE:return oo;default:return e}}var ao=function(e){return function(t){return function(n,r){var o=Number(t)+Number(e);return o>Number(r)?Number(r):o}}},co=function(e){return function(t){return function(n,r){var o=!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&(Number(r)-Number(n))%Number(e),i=Number(t)===Number(r)&&o?Number(t)-o:Number(t)-Number(e);return i0&&void 0!==arguments[0]?arguments[0]:bo,t=arguments.length>1?arguments[1]:void 0,n=t.payload,r=void 0===n?{}:n,o=t.type,i=void 0===o?"":o,a=(0,x.get)(r,"response.result.machine",bo);return i===l.g9.NEXT_SUCCESS?function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:Eo,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.payload;switch(t.type){case qe.cp.SHIELD_HIDE:return Oo(ho({},e),{heading:"",subheading:"",showCount:Math.max(e.showCount-1,0)});case qe.cp.SHIELD_SHOW:return Oo(ho({},e,n),{showCount:e.showCount+1});case qe.cp.INIT_SHIELD:return ho({},Eo,n);case l.g9.INITIALISE:return Eo;default:return e}}function Co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function To(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.payload,r=void 0===n?{}:n,o=t.type,i=void 0===o?"":o,a=r.activeTests,c=void 0===a?{}:a,u=r.response,s=void 0===u?{}:u;switch(i){case l.g9.READY_TO_OPEN_SUCCESS:return To({},e,c);case l.g9.NEXT_SUCCESS:return To({},e,s.activeTests||{});case l.g9.UPDATE_SPLIT_TESTS:return To({},e,r);case l.g9.INITIALISE:return wo;default:return e}}var Io={};function xo(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Io,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case l.g9.READY_TO_OPEN_SUCCESS:case l.g9.NEXT_SUCCESS:return e=n.payload.response||n.payload,Object.assign({},{ip:e.ip,sid:e.sid,uid:e.uid,vid:e.vid,jid:e.jid});case l.g9.INITIALISE:return Io;default:return t}}function Ao(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},t=(e.globals,e.logic),n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["globals","logic"]);Po&&Po.dispatch((0,a._I)());var c,l=(c={breakpoints:(0,i._M)(n)}.breakpoints,(0,r.TL)({answers:Rn,browser:(0,o.uQ)(c),chat:Bn,config:Wn,device:Vn,engagement:Xn,engine:vt,events:$n,inPage:nr,launcher:fr,launchpad:vr,loading:Cr,modal:Ar,postcodeChecker:Dr,question:kr,result:io,resultMachine:yo,shield:So,splitTests:_o,user:xo,theme:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},themeUI:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}));return Po=(0,r.eC)(l,n,Do({partnerLogic:t}))}var ko=function(){return Po}},908:function(e,t){"use strict";var n=function(e,t){var n=e.getElementById(t);if(n)return n;var r=document.createElement("div");return r.id=t,e.appendChild(r),r};t.c=function(e){var t,r=null!==(t=e.shadowRoot)&&void 0!==t?t:e.attachShadow({mode:"open"}),o=n(r,"style"),i=n(r,"root");return null!=window.applyFocusVisiblePolyfill&&window.applyFocusVisiblePolyfill(i),{emotionRootElement:o,shadowRootElement:i}}},2332:function(e,t,n){"use strict";var r=n(8744);t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.CM;return(document.getElementById(e)||{}).shadowRoot}},3336:function(e,t,n){"use strict";n.d(t,{CY:function(){return m},UH:function(){return p},cp:function(){return f},ol:function(){return g}});var r=n(8084),o=n.n(r),i=n(2820),a=n(8648);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:i.c).logic;return u.includes(e)&&n[e]?new Promise(n[e].bind(void 0,t||null)):Promise.resolve()},p=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.c).logic;return s.includes(e)&&n[e]?n[e](t):t},g=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.activeTests,a=void 0===r?{}:r,c=n.ownProps,u=void 0===c?{}:c,s=n.pageTextId,f=void 0===s?"":s,p=n.partner,g=void 0===p?i.c:p,m=n.testHook,b=void 0===m?"":m,y=((null===(t=g)||void 0===t||null===(e=t.splitTests)||void 0===e?void 0:e.config)?g.splitTests.config({partner:g,ownProps:u}):{})[b],v=void 0===y?{}:y,h=Object.keys(v).map((function(e){if(v[e].pageSplitTestId&&f&&v[e].pageSplitTestId!==f)return{};var t=a[e];return d(v[e][t]),v[e][t]||{}}));return o().all([u].concat(l(h)),{arrayMerge:function(e,t){return t}})},m=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.activeTests,a=void 0===r?{}:r,c=n.baseThemeUI,u=void 0===c?{}:c,s=n.partner,f=void 0===s?i.c:s,p=(null===(t=f)||void 0===t||null===(e=t.splitTests)||void 0===e?void 0:e.themeUI)?f.splitTests.themeUI({partner:f}):{},g=Object.keys(p).map((function(e){var t=a[e];return d(p[e][t]),p[e][t]||{}}));return o().all([u].concat(l(g)),{arrayMerge:function(e,t){return t}})}},5200:function(e,t,n){"use strict";n.d(t,{AZ:function(){return i},Ky:function(){return a},oV:function(){return c}});var r=n(7320),o=n(2808),i=(0,o.M3)((function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).answers;return(void 0===e?{}:e)||{}}),(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)(e,"collection",[])})),a=(0,o.M3)([i],(function(e){return e.filter((function(e){return e.selected}))})),c=(0,o.M3)([a],(function(e){return!!e.length}))},8652:function(e,t,n){"use strict";n.d(t,{QX:function(){return q},sL:function(){return z},iS:function(){return X},EP:function(){return Q},Cg:function(){return J},Eh:function(){return V},sZ:function(){return ee}});var r=n(7320),o=n.n(r),i=n(3952),a=n(8648),c=n(3336),l=n(4024),u=n(8392),s=n(4920),d=n(7248),f=function(e,t){var n=e.dispatch,r=e.state,o=(0,s.OW)(d.c.questionProgress),i=function(e){return(0,l.m_)(e)&&!(0,l.KM)(e)}(o),f=function(e){return!(0,l.OS)(e)&&(!(0,l.m_)(e)||(0,l.KM)(e))&&(0,l.wx)(e)}(o),p=(0,s.OW)(d.c.lastRecSearchId);(0,c.cp)(a.YJ.ENGINE_PROGRESS,{dispatch:n,state:r}).then((function(e){!e&&(0,l.KM)(o)&&f?(0,s.qq)(d.c.searchId,p):(e||i||f)&&((0,s.k1)(d.c.searchId),(0,s.k1)(d.c.questionProgress),(0,s.k1)(d.c.lastRecSearchId),n((0,u.Qo)())),t()}))},p=n(7216);function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=(0,p.c)(t)[a.ai.EVO_FORCE_SPLIT],r=n?n.split(",").reduce((function(e,t){var n,r,o=t.split(".");return n=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=new RegExp("<".concat(t,">|"),"g");return e.replace(n,"")},h=n(4632),O=n(2932);function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var w=function(e){return e.map((function(e){var t,n,o,i=e.handsetName,a=e.tabHeader;return C(S({},T(e,["handsetName","tabHeader"])),{tabHeader:a,handsetName:i,tabs:(0,r.get)(a,"tabs",(t={tabHeader:a,handsetName:i},n=t.handsetName,o=t.tabHeader,{desktop:{label:o,subLabel:n},mobile:{label:o,subLabel:n}}))})}))};function _(e,t){var n=e.vars,o=n.branchTextId,i=n.engineTextId,l=n.funnelTextId,u=n.isHidden,f=n.isReady,p=n.page,g=n.pageId,b=n.pageTextId,y=n.propertyDetails,v=n.welcomeBackRecommendationLoading,h=t.isMinimiseDisabled,E=void 0!==h&&h,w=t.journeyDirection,_=void 0===w?"":w,I=t.suppress,x=void 0!==I&&I,A={selector:e.launchpad&&e.launchpad.page.appending_element?e.launchpad.page.appending_element:null,elementIndex:e.launchpad&&e.launchpad.page.appending_index?e.launchpad.page.appending_index:0,method:e.launchpad&&e.launchpad.page.appending_method?e.launchpad.page.appending_method:null};e.launchpad&&(e.launchpad.DOMLocation=A);var P={DOMLocation:{selector:(0,r.get)(e,"in_page.appending_element",null),method:(0,r.get)(e,"in_page.appending_method",null)},isEnabled:!(!e.in_page||!e.in_page.enabled||!Number(e.in_page.enabled))},N=m(e.active_tests),D=(0,c.ol)({testHook:a.C2.MAPPING,activeTests:N}),j=D.pageEngagementVariant,L=D.pageShowTab,M=j||(0,r.get)(e,"vars.page.show_welcome",""),B=(0,r.get)(e,"vars.feature_flags",{}),U=(0,r.get)(B,"do_not_persist_journey",null),H=B||{},G=H.external_engagement,F=void 0!==G&&G,W=T(H,["external_engagement"]),K=e.config&&e.config.autoEngageDelay&&!Number.isNaN(e.config.autoEngageDelay)?1e3*parseInt(e.config.autoEngageDelay,10):15e3;return{activeTests:N||null,branchTextId:o,canContinue:e.can_continue||null,config:e.config_front_end||{},engagementRules:[{checkRule:M===a.Sm.DOUBLE||M===a.Sm.MOBILE,fulfilled:!1,type:a._K.HIDDEN},{fulfilled:!1,time:K,type:a._K.DELAY}],engagementTimeout:e.config&&e.config.hideEngagementTimeout,engagementVariant:M||a.Sm.DOUBLE,engineTextId:i,featureFlags:C(S({},W),{externalEngagement:F}),funnelTextId:l,hotDelay:K,inPage:P,introCopy:{engagementHeader:p&&p.engagement_header?p.engagement_header:"",engagementParagraph:p&&p.engagement_paragraph?p.engagement_paragraph:"",firstMessage:v||(p&&p.first_message?p.first_message:"")},ip:e.ip||(0,r.get)(window,"__evo.ip")||"",isHidden:u,isMinimiseDisabled:E,isReady:!!f,isResult:_===a.Wm.RESTART?null:e.has_products,jid:e.jid||(0,r.get)(window,"__evo.journeyId")||"",launchpad:e.launchpad||!1,page:{overlappedElement:p&&p.overlapped_element,pathExclusions:p&&p.path_exceptions_arr||null,showTab:R(L,p),tabTextDirection:p&&((0,O.c)({min:3,max:6,value:p.widget_position})?"btt":"ttb"),widgetAlternativePosition:p&&k(p.widget_alternative_position),widgetPosition:p&&k(p.widget_position)},pageId:g,pageTextId:b,propertyDetails:y,readyToOpenResponseUrl:e.readyToOpenResponseUrl,searchId:U?null:(0,s.OW)(d.c.searchId),sid:e.sid||(0,r.get)(window,"__evo.sessionId")||"",suppress:!!x,uid:e.uid||(0,r.get)(window,"__evo.uniqueId")||"",vid:e.vid||(0,r.get)(window,"__evo.visitId")||""}}function I(e,t,n,i){var c=(0,r.get)(e,"leap2.product"),l=e.savedLineCount||e.leap2&&e.leap2.savedRecommendations&&e.leap2.savedRecommendations.length||0,u={ip:e.ip||(0,r.get)(window,"__evo.ip")||"",sid:e.sid||(0,r.get)(window,"__evo.sessionId")||"",uid:e.uid||(0,r.get)(window,"__evo.uniqueId")||"",vid:e.vid||(0,r.get)(window,"__evo.visitId")||"",jid:e.jid||(0,r.get)(window,"__evo.journeyId")||""},s=m(e.active_tests)||null;if(e.next_question){var d=e.next_question,f="slider_multi"===d.type||"slider"===d.type,p=f&&!d.answers.find((function(e){return"1"===e.is_default||1===e.is_default})),g=d.custom_fields&&d.custom_fields.flexible_answer_sizing&&"1"===d.custom_fields.flexible_answer_sizing;return p?d.answers[0].is_default=1:d.custom_fields&&d.custom_fields.uses_api&&(d.type=a.cX.API),C(S({},u),{activeTests:s,isResult:null,question:{accordions:N(d.custom_fields).map((function(e){var t=D(e);return{id:t.accordion_id||null,anchorTarget:t.accordion_capture_anchor_target||null,anchorPlacement:t.accordion_anchor_placement||null,openedCaption:t.accordion_opened_caption||null,closedCaption:t.accordion_closed_caption||null,copy:t.accordion_text||null,isOpen:!1}})),answers:d.answers.map((function(e){return{id:parseInt(e.answer_id,10),altName:e.alt_name,isDeselect:e.is_deselect,selected:t.back?!!e.is_checked:!!e.is_default,text:e.value,isDefault:!!e.is_default,textId:f&&e.string_id?e.string_id:e.text_id,image:e.image,scaleValue:e.value_scale}})),description:d.description,id:parseInt(d.question_id,10),sliderSnapToAnswers:!!d.slider_snap_to_answers,sliderScaleValuesAsIs:!!d.slider_scale_values_as_is,sliderBorderLabels:!!d.slider_border_values,sliderShowTooltip:!!d.slider_tooltip,text:d.name,textId:f&&d.string_id?d.string_id:d.text_id,type:d.type,isFlexibleAnswerSize:g},searchId:e.search_id,progress:{step:e.step,remainingQuestions:e.remaining_questions,totalQuestions:parseInt(e.step,10)+parseInt(e.remaining_questions,10),savedLineCount:l,requestedLineCount:e.requestedLineCount,timestamp:(0,h.wr)()},loading:null,savedRecommendations:e.leap2&&e.leap2.savedRecommendations,debugUrl:e.debug_url||null,nextResponseUrl:e.nextResponseUrl})}return e.leap2?C(S({},u),{activeTests:s,intents:e.leap2.intents,isResult:1,result:{copy:e.leap2.copy,deviceConnectionChargeModal:v(e.deviceConnectionChargeModal,"br")||null,exitScreenData:e.leap2.exit||null,isExit:!(!e.persistent_flags||!e.persistent_flags.exit)&&e.persistent_flags.exit,product:c,productData:{recommendation:w(A(e,n,i))},termsConditions:e.termsConditions||[],flexModal:e.flexModal||null},searchId:e.search_id,profileData:e.profileData,progress:{step:e.step,remainingQuestions:0,totalQuestions:parseInt(e.step,10)+parseInt(e.remaining_questions,10),savedLineCount:l,requestedLineCount:e.requestedLineCount,timestamp:(0,h.wr)(),recCurrentlyShown:!0},vars:e.vars,savedRecommendations:e.leap2.savedRecommendations,resultsId:e.results_id,debugUrl:e.debug_url||null,nextResponseUrl:e.nextResponseUrl}):o().has(e,"vector_loading")||o().has(e,"ai_loading_vectors")?C(S({},u),{activeTests:s,loading:{vector_loading:e.vector_loading,ai_loading_vectors:e.ai_loading_vectors},vars:e.vars,searchId:e.search_id,progress:{step:0,remainingQuestions:0,savedLineCount:l,requestedLineCount:e.requestedLineCount,timestamp:(0,h.wr)()},noMoreQuestions:e.noMoreQuestions}):e}function x(e,t){var n=(0,y.c)(e.leap2?P(e.leap2.recommendation)[0]:e,[null]),r=t.result,o=t.result.activeTabIndex;return r.productData.recommendation[o]=Object.assign(r.productData.recommendation[o],n),r.productData.recommendation[o].offers=n.offers,{result:C(S({},r),{searchResponseUrl:e.searchResponseUrl})}}var A=function(e,t,n){var o,i,a,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=t.result,u=(0,r.get)(e,"leap2.recommendation",[]),s=n.is.small||n.greaterThan.small?"desktop":"mobile",d=(0,b.uK)({engine:e}),f=l.colorCapacityAccordionOpen,p=l.tariffAccordionOpen,g=void 0!==(null===(i=p)||void 0===i||null===(o=i[s])||void 0===o?void 0:o[d])?p[s][d]:p[s].default,m=(null===(a=c)||void 0===a?void 0:a.isAlternativeTariffsOpen)||g,y=void 0!==f[s][d]?f[s][d]:f[s].default;return u.map((function(e){return C(S({},e),{isAlternativeTariffsOpen:m,isSpecificationOpen:!1,isColorCapacityOpen:y})}))},P=function(e){return e.map((function(e){return C(S({},e),{devicePaymentPlanDisclaimer:e.devicePaymentPlanDisclaimer||""})}))},N=function(e){return e?[e.primary_accordion,e.secondary_accordion].filter(Boolean):[]},D=function(e){var t=e.match(/(\{[^}]+\}:[^{]+)/g),n={};return t.forEach((function(e){var t=e.replace(/(\}:)(\s?)/,"$1").split(/:(.+)/);n[t[0].replace(/\{?\}?/g,"")]=t[1]})),n},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e||(t&&"7"!==t.widget_position&&t.show_tab?t.show_tab:"no")},k=function(e){return(0,O.c)({min:3,max:6,value:e})?6===Number(e)?"bottom":"ltr":"rtl"},j=n(7072),L=n(8184),M=n(7560),B=n(7556),U=n(2044),H=n(424),G=n(2576);function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r,o){return r({type:a.g9.RESTORE_PERSISTED_VALUES}),r({type:a.g9.READY_TO_OPEN_REQUEST,payload:{id:(0,l.AH)(),startTime:(0,l.u)()},loadType:e,timeout:t,dataToSend:n}),f({state:o(),dispatch:r},(function(){(0,i.c)(o(),n).isReady().then((function(e){var t=e.data,n=e.request.responseURL,o=void 0===n?{}:n;r(Y(K(W({},t),{readyToOpenResponseUrl:o})))})).catch((function(e){var t="Ready to open request failed";window&&window.__evo&&window.__evo.reportError?window.__evo.reportError({message:t,nativeError:e}):(H.c.error(t),H.c.error(e)),r(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:"An error occurred api is not ready"};return{type:a.g9.READY_TO_OPEN_ERROR,error:e}}(e))}))}))}}function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r,i){return r({type:a.g9.RESTORE_PERSISTED_VALUES}),r({type:a.g9.READY_TO_OPEN_REQUEST,payload:{id:(0,l.AH)(),startTime:(0,l.u)()},loadType:e,timeout:t,dataToSend:n}),f({state:i(),dispatch:r},(function(){var e=o().get(window,"__evo.serverConfig",{}),t="object"==typeof e&&!(0,G._)(e);r(t?Y(e):function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:"An error occurred and evo's configuration is not ready"};return{type:a.g9.READY_TO_OPEN_ERROR,error:e}}())}))}}function Y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return function(n,r){var i=r(),l=i.config,u=i.engine,s=o().has(l,"loading.introScreen")&&0===u.completedNextRequests?a.oJ.INTRO_TIMED:t;(0,c.cp)(a.YJ.PRE_PROCESS_READY,e).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=u.open,o=u.suppress,i=K(W({},(0,j.cP)({data:e,processedReady:t})),{journeyDirection:u.journeyDirection||""}),c=i.suppress;n({type:a.g9.READY_TO_OPEN_SUCCESS,payload:_(e,i),loadType:s}),(0,U.es)({config:l,dispatch:n,isHideEngine:c,suppress:o,open:r,pauseFocusTrap:!0})}))}}function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r,l){var u=l(),s=u.engine,d=u.result,f=o().get(l(),"config.loading"),p=o().get(l(),"config.vectors.showMultilineVectors"),g=(0,b.uK)(s),m=o().get(s,"intents.next")||[],y=p&&!s.noMoreQuestions&&m.includes("multiline")&&m.includes("planRec"),v=l().answers.collection.length>0&&!!l().question||y,h=(0,c.ol)({testHook:a.C2.TABS,activeTests:l().splitTests,ownProps:l().config.tabs}).initialVisibleTabIndex;if(n.back)r(d?{type:a.g9.TRACKING.CLICK_ENGINE_RESULT_BACK,data:W({},n,d.isPostResultExitScreen?{currentScreen:"exit",nextScreen:"result"}:{currentScreen:"result",nextScreen:"question"})}:{type:a.g9.TRACKING.CLICK_ENGINE_BACK});else if(v&&!n.debug){var O=[];l().answers.collection.forEach((function(e){e.selected&&O.push(e.textId)}));var E=l().question;E&&O.length&&r({type:a.g9.TRACKING.ANSWERED,data:{a:O,q:E.textId}})}return r({type:a.g9.NEXT_REQUEST,loadType:e,timeout:t,data:n,payload:{result:d,savedRecommendations:s&&s.savedRecommendations,loadingConfig:f,completedNextRequests:l().engine.completedNextRequests,screenType:g,isBack:!!n.back||!!n.restart,hasIntent:!!n.intents,pageData:o().get(n,"pageData")||{}}}),(0,i.c)(l(),n).isNext({isLoading:v}).then((function(e){var t=e.data,o=e.request.responseURL,i=void 0===o?{}:o;r(function(e,t,n){return function(r,o){var i=o(),c=i.browser,l=i.config,u=i.engine,s=l.loading,d=l.result;r({type:a.g9.NEXT_SUCCESS,payload:{response:I(e,t,l,c),loadingConfig:s,initialVisibleTabIndex:n,isPartnerRoundingPricesWithCeil:d.isPartnerRoundingPricesWithCeil,completedNextRequests:u.completedNextRequests,saveUpfrontCostInFlex:d.saveUpfrontCostInFlex,shouldUpdateContractFlexDefaultDuringSwitchBundle:d.shouldUpdateContractFlexDefaultDuringSwitchBundle}})}}(K(W({},t),{readyToOpenResponseUrl:i}),n,h))})).catch((function(e){var t="Next request failed";window&&window.__evo&&window.__evo.reportError?window.__evo.reportError({message:t,nativeError:e}):(H.c.error(t),H.c.error(e)),r(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:"An error occurred in the request"};return{type:a.g9.NEXT_ERROR,error:e}}(e))}))}}function X(e,t,n){return function(r,o){return r({type:a.g9.SEARCH_REQUEST,loading:{loadType:"",optionType:t},optionType:t}),(0,i.c)(o()).isSearch(e).then((function(e){var o=e.data,i=e.request.responseURL,c=void 0===i?{}:i;r(function(e,t,n){return function(r,o){return r({type:a.g9.SEARCH_SUCCESS,payload:x(e,o()),data:{source:t,action:"select",buttonText:n,product_id:o().result.oldActiveProductId,product_id_after:o().result.activeProductId}})}}(K(W({},o),{readyToOpenResponseUrl:c}),t,n))})).catch((function(e){var t="Search request failed";window&&window.__evo&&window.__evo.reportError?window.__evo.reportError({message:t,nativeError:e}):(H.c.error(t),H.c.error(e)),r(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:"An error occurred api is not ready"};return{type:a.g9.SEARCH_ERROR,error:e}}(e))}))}}var Q=function(e,t,n){return function(r,o){return r({type:a.g9.SWITCH_BUNDLE_REQUEST,loading:{optionType:t},optionType:t}),(0,i.c)(o()).isSwitchBundle(e).then((function(e){var i=function(e,t){var n,r,o,i,a=t.browser,c=t.config,l=t.result,u=void 0===l?{}:l,s=u.activeTabIndex,d=void 0===s?0:s,f=u.productData,p=(void 0===f?{}:f).recommendation,g=(void 0===p?[]:p)[d];return{profileData:e.profileData,result:{exitScreenData:(null===(r=e)||void 0===r||null===(n=r.leap2)||void 0===n?void 0:n.exit)||null,productData:{recommendation:A(e,c,a,g)},isExit:!!(null===(i=e)||void 0===i||null===(o=i.persistent_flags)||void 0===o?void 0:o.exit)},searchId:e.search_id,vars:e.vars}}(e.data,o());return r($(i,t,n)),o()})).catch((function(e){var t="Switch bundle request failed";window&&window.__evo&&window.__evo.reportError?window.__evo.reportError({message:t,nativeError:e}):(H.c.error(t),H.c.error(e)),r(Z(e))}))}},$=function(e,t,n){return function(r,o){var i=o().config;if(i.result.showIneligiblePlan[t]||i.result.showIneligiblePlan.default){var c=(0,B.ew)({result:o().result}),l=(0,B.ew)({result:e.result}),u=(0,B.I$)({result:e.result}),s=(0,B.I$)({result:o().result}),d=u.devicePaymentPlans.find((function(e){return e.active})),f=s.devicePaymentPlans.find((function(e){return e.active})),p=c.filter((function(e){return!l.includes(e)})),g={actions:{confirm:[e,t,n]},data:{offers:p,option:u[t].find((function(e){return e.active})),optionType:t}};p&&p.length||36===Number(f.partnerPropertyId)&&12===Number(d.partnerPropertyId)?(r((0,M.QB)()),r((0,L.A5)(a.m4.INELIGIBLE_PLAN,g))):r(J(e,t,n))}else r(J(e,t,n,i.result.isUsingBulkPurchase))}},J=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{type:a.g9.SWITCH_BUNDLE_SUCCESS,payload:e,data:{optionProps:n,optionType:t,isUsingBulkPurchase:r}}},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:"An error occurred api is not ready"};return{type:a.g9.SWITCH_BUNDLE_ERROR,error:e}};function ee(e,t){return function(n,r){return n({type:a.g9.FEEDBACK_REQUEST}),(0,i.c)(r()).isSubmitFeedback(e,t).then((function(){return n({type:a.g9.FEEDBACK_SUCCESS})})).catch((function(e){var t="Feedback submission request failed";window&&window.__evo&&window.__evo.reportError?window.__evo.reportError({message:t,nativeError:e}):(H.c.error(t),H.c.error(e)),n(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:"An error occurred in the feedback api"};return{type:a.g9.FEEDBACK_ERROR,error:e}}(e))}))}}},8164:function(e,t,n){"use strict";n.d(t,{c:function(){return O}});var r,o,i,a,c,l,u=n(2520),s=function(e){var t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol},d=n(5088),f=function(e){return"".concat(e,"/").concat("next.html")},p=function(e){return"".concat(e,"/").concat("feedback.html")},g=function(e){return"".concat(e,"/").concat("track.html")},m=function(e){return"".concat(e,"/").concat("events.html")},b=function(e){return"".concat(e,"/").concat("remove_recommendation.html")},y=function(e){return"".concat(e,"/").concat("search.html")},v=function(e){return"".concat(e,"/").concat("switch_bundle")},h=function(e){return"".concat(e,"/").concat("known_handsets")},O=(r={window:window,serverConfig:u},i=function(e){var t=e.serverConfig,n=e.window,r=t.evoProtocol||n.location.protocol||"https:",o=function(e){var t=e.serverConfig;return"".concat(e.protocol,"//").concat(t.evoDomain)}({protocol:r,serverConfig:t}),i=function(e){return"".concat(e,"/").concat("wizard")}(o),a=function(e){return"".concat(e,"/").concat("api")}(o);return s(o)||(0,d.c)("baseUrl is not a valid URL - ".concat(o)),s(i)||(0,d.c)("wizardUrl is not a valid URL - ".concat(i)),s(a)||(0,d.c)("apiEndpoint is not a valid URL - ".concat(a)),{protocol:r,baseUrl:o,wizardUrl:i,apiEndpoint:a}}({serverConfig:r.serverConfig,window:r.window}),a=i.apiEndpoint,c=i.protocol,l=i.wizardUrl,{protocol:c,readyToOpenUrl:(o=l,"".concat(o,"/").concat("ready_to_open.html")),nextUrl:f(l),feedbackUrl:p(l),trackUrl:g(l),eventsUrl:m(l),removeRecUrl:b(a),searchUrl:y(a),knownHostsUrl:h(a),switchUrl:v(a)})},4024:function(e,t,n){"use strict";n.d(t,{AH:function(){return g},KM:function(){return d},OS:function(){return s},SO:function(){return m},m_:function(){return u},u:function(){return p},wx:function(){return f}});var r=n(7320),o=(n(8648),n(8652)),i=n(2952),a=n(4632),c=n(4416),l=n(1984),u=function(e){return!(!e||!e.step||1!==e.step)},s=function(e){return!(!e||!e.recCurrentlyShown)},d=function(e){return!!(e&&e.savedLineCount&&parseInt(e.savedLineCount,10))},f=function(e){return!!(e&&e.timestamp&&(0,a.wr)()>=e.timestamp+(0,a.Go)())},p=function(){return(0,a.wr)()},g=function(){var e=(0,r.get)(window,"__evo.engineId")||(0,c.c)(32);return(0,l.c)({eid:e}),e},m=function(e){var t=e.__evo,n=void 0===t?{}:t,r=e.data,a=void 0===r?{}:r,c=e.store,l=b({__evo:n,store:c}),u=l?o.Eh:o.sL;l&&(0,i.kP)();var s="serverConfigLoaded",d=function(){c.dispatch(u("",800,a)),n.events.removeListener(s,d)};return l&&n.serverConfig||!l?c.dispatch(u("",800,a)):l&&!n.serverConfig&&n.events&&n.events.addListener(s,d),c},b=function(e){var t=e.__evo,n=e.store;if(!t)throw new Error("__evo has not been instantiated");if(!n)throw new Error("the store has not been instantiated");return!!t.enableConfigRequest}},1984:function(e,t){"use strict";var n={eid:"engineId",ip:"ip",sid:"sessionId",uid:"uniqueId",vid:"visitId",jid:"journeyId"};t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=window.__evo;t&&Object.keys(n).forEach((function(r){var o=n[r];e[r]&&(t[o]=e[r])}))}},1112:function(e,t,n){"use strict";n.d(t,{IF:function(){return i},Md:function(){return u},UF:function(){return a},cr:function(){return s},oX:function(){return l},od:function(){return c}});var r=n(5644),o=n(6668),i=(0,r.c)(o.cp.INIT_CHAT_SETTINGS),a=(0,r.c)(o.cp.TRACKING.CHAT_OPENED),c=(0,r.c)(o.cp.TRACKING.CHAT_CLOSED),l=(0,r.c)(o.cp.TRACKING.CHAT_CLICKED),u=((0,r.c)(o.cp.SHOW_CHAT_BUTTON),(0,r.c)(o.cp.HIDE_CHAT_BUTTON),(0,r.c)(o.cp.TRACKING.CHAT_CTA_INITIAL_STATE)),s=(0,r.c)(o.cp.TRACKING.CHAT_STATE_CHANGED)},6668:function(e,t,n){"use strict";n.d(t,{I9:function(){return r},_2:function(){return o}});var r={LIVE_PERSON:"LivePerson"},o={BUSY:"busy",OFFLINE:"offline",ONLINE:"online"};t.cp={HIDE_CHAT_BUTTON:"HIDE_CHAT_BUTTON",INIT_CHAT_SETTINGS:"INIT_CHAT_SETTINGS",MANAGE_CHAT_VISIBILITY:"MANAGE_CHAT_VISIBILITY",SHOW_CHAT_BUTTON:"SHOW_CHAT_BUTTON",TRACKING:{CHAT_CLICKED:"CHAT_CLICKED",CHAT_CLOSED:"CHAT_CLOSED",CHAT_CTA_INITIAL_STATE:"CHAT_CTA_INITIAL_STATE",CHAT_OPENED:"CHAT_OPENED",CHAT_STATE_CHANGED:"CHAT_STATE_CHANGED"}}},6488:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});var r=(0,n(2808).M3)((function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).chat;return void 0===e?{}:e}),(function(e){var t=e.config;return(void 0===t?{}:t)||{}}))},8348:function(e,t,n){"use strict";n.d(t,{A3:function(){return d},A5:function(){return h},C8:function(){return g},CO:function(){return m},CY:function(){return O},Kq:function(){return v},Lq:function(){return E},O4:function(){return u},YX:function(){return a},_M:function(){return s},cb:function(){return y},eE:function(){return i},io:function(){return b},iu:function(){return l},mk:function(){return f}});var r=n(2808),o=n(8648),i=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return void 0===e?{}:e},a=(0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).copy;return void 0===e?{}:e})),c=(0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).paletteStyles;return void 0===e?{}:e})),l=(0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).engine;return(void 0===e?{}:e).insertRetryInterval})),u=(0,r.M3)(i,(function(e){var t=e.loading;return(void 0===t?{}:t).loadType||o.oJ.SPOKES})),s=((0,r.M3)(i,(function(e){var t=e.chat;return(void 0===t?{}:t)||{}})),(0,r.M3)(c,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).breakpoints;return void 0===e?{}:e}))),d=(0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).resultCta;return void 0===e?{}:e})),f=(0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).inPage;return(void 0===e?{}:e)||{}})),p=(0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).loading;return(void 0===e?{}:e)||{}})),g=(0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).engine;return(void 0===e?{}:e)||{}})),m=(0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).result;return(void 0===e?{}:e)||{}})),b=(0,r.M3)(m,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).card;return(void 0===e?{}:e)||{}})),y=((0,r.M3)(i,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).plan;return(void 0===e?{}:e)||{}})),(0,r.M3)(m,(function(e){var t=e.showProtectionDeclineConfirmation,n=e.useDeclineProtectionFallback;return!!t||!!n}))),v=(0,r.M3)(m,(function(e){return!!e.isProtectionRequired})),h=(0,r.M3)(i,(function(e){var t=e.selectBox;return(void 0===t?{}:t).isShowDeliveryMessage||!1})),O=(0,r.M3)(a,(function(e){var t=e.accessoriesSelectLabel,n=void 0===t?"":t,r=e.capacitySelectLabel,o=void 0===r?"":r,i=e.colourSelectLabel,a=void 0===i?"":i,c=e.devicePlanLabel;return{colourLabel:a,paymentPlanLabel:void 0===c?"":c,capacityLabel:o,accessoriesLabel:n}})),E=(0,r.M3)(p,(function(e){var t=e.loadType;return void 0===t?"":t}))},3908:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(8648),o=n(1957);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.c;return{engine:{copyLinkBaseUrl:"",insertRetryInterval:500,isPassingPartnerStatusAsParam:!1,isPassingPartnerStatusField:"",shouldUseThemeUI:!1,showStartAgainModal:{default:!1},ecidCookie:{name:"s_ecid",splitBy:"%7C"},isForceOpenReload:!1},resultMachines:{enabled:!1},progressBar:{height:"5px",borderRadius:0,color:"#8D9548",trailColor:"#D9E2E2",strokeWidth:.7,trailWidth:.7,strokeLinecap:"square"},engagement:{forceTabToAlwaysShow:{default:!1},isDisabledForInPage:!1,showMobileCloseButton:!1,showTabletCloseButton:!1,showDesktopCloseButton:!1,showMobileSecondaryCloseButton:!0,showTabletSecondaryCloseButton:!0,showDesktopSecondaryCloseButton:!0,showSecondaryBubbleCloseButton:!1},bubble:{showMobileCloseButton:!1,showCloseButton:!1,showFeedbackSurvey:!0},poller:{isEnabled:!1},overlay:{direction:"rtl",transitionDuration:".3s",transitionTimingFunction:"ease-out",width:90,maxWidth:1200,peekingOn:!0,initialPeek:!0,initialPeekDuration:1e3,peekingAnimation:"cubic-bezier(.3, -0.04, .5, 1.5)",peekAmount:15},overlayEngagement:{isShowOverlayEngagement:!1,showEngagementWhenHoveredTab:!1},tooltip:{currencySymbol:"£",isUsingCurrencyCode:!1,dimensions:{width:83,height:56},showCloseButton:!1},inPage:{isUsingInterfacePreferencing:!1},result:{useSwitchBundleAPI:!1,showDeviceCarouselOfferModal:!1,showOffersInCarousel:!1,showFullWidthIncludedOffer:!0,showIneligiblePlan:{default:!1},isResultBasketCtaNoProtection:!1,isCapitaliseVector:!1,isOverridePartnerPricing:!1,priceSeparator:".",showDiscountApplied:!1,currencySymbol:"£",isUsingCurrencyCode:!1,isCurrencySymbolToTheRight:!1,card:{showButton:{default:!1},showRadio:{default:!1},showTick:{default:!1}},showMultilineCTAContinueButton:!1,multiLineMax:!1,itemisedPlanInBasket:!0,stickyBasket:!1,showPlanOnlyBasket:!1,showLinesBasket:!1,useTariffCostMonthlyDeviceCharge:!1,isPartnerRoundingPricesWithCeil:!1,excludeActiveTariffCostUpfrontOriginal:!1,basketItemsOrder:{default:["devicePaymentPlan","protectionPlans","tariff","simCard","discountApplied","accessories"]},showBasketTariffUpfrontCost:!1,showBasketTariffOffers:!1,showBasketTariffContractLength:!1,showBasketInTab:!1,isRenderChatButtonOutsideBasket:!1,hasExistingCustomerFeatures:!1,showBasketLegalText:!1,showBasketInfoText:!1,showHandsetMonthlyCostInPhoneSummary:!0,showHandsetUpfrontCostInPhoneSummary:!1,hideNavigationBottomTablet:!1,isShowingMobileFixedBasket:!0,offerCopyKey:"copy",isOfferTermsModal:!1,showRetailPrice:!0,tariffAccordionOpen:{desktop:{default:!1},mobile:{default:!1}},colorCapacityAccordionOpen:{desktop:{default:!0},mobile:{default:!1}},includeTariffLegal:!1,tariffAccordionButtonBottom:!1,specAccordionButton:!0,isCountdownOfferSuffixShown:!0,isBasketHideOffers:!1,isBasketHideMultilineOffers:!1,showPrevLines:!1,showLineNumber:!0,showTotalForAllLines:!1,isCostMonthlyTariff:!1,isProtectionRequired:!1,protectionStateSwitchShow:!1,protectionStateSwitchField:"",hideDeclineProtectionPlans:!1,showProtectionDeclineConfirmation:!1,useDeclineProtectionFallback:!1,showBasketNoProtectionCta:!1,simoImage:"http://placehold.it/85x143",showSimoImage:!0,showUpfrontStrikethrough:!0,showMonthlyStrikethrough:!0,showListedAccessories:!1,hideMultiPlanDetails:!1,showCostMonthlySuffix:!1,showCostMonthlyOnMultiline:!1,showMonthlyTariff:!1,showMonthlyTariffOffer:!1,multilineIsTariffCostMonthlyTariff:!1,showNonCumlativeTotals:!1,includeSimCardCost:!1,showTariffName:!0,showDeliveryMessage:!1,showFirstRecTariffName:!1,useFirstActivePlanName:!1,showMultilineNumberForDevice:!1,dontAddExtraPlanLine:!1,showConfirmIconAccessories:!0,showConfirmButtonAccessories:!1,isStripZeroDecimals:!1,isToggleProtection:!1,replaceByodPhoneNameCopy:!0,tariffBenefitsFeaturedStart:0,tariffBenefitsFeaturedEnd:4,featuresFromBenefits:!1,protectionBenefitsFeaturedCount:10,showResultSubheader:{paym:!0,paymchosen:!0,paympartchosen:!0,payg:!1,simo:!0,multiline_shared_tariffs:!0,multiline_individual_tariffs:!0,multiline_device:!0,byod:!0},protectionScreenFeatured:2,protectionScreenAccordionThreshold:2,showProtectionAccordion:!1,hasDeclinedProtection:!1,showIndividualProtectionTermsModal:!1,showExistingCustomerModal:!1,showClubCardModal:!1,alwaysAddProtectionOnModalConfirm:!1,showDeviceOfferModal:!1,showPaymentPlanOffers:!0,deviceOfferModalKey:"",resultSubHeaderProtectionNoticeClass:"_15gifts-insurance-notice-link",showUpfront:!0,reversePricesOrder:!1,displayOriginalPriceAfter:!1,showPlanChangeBtn:!0,showDataFeaturesCard:!0,benefitAccordionOpen:!0,isBenefitAccordionReversed:!0,nextScreenSteps:[],showCrossBenefits:!1,isFixedOnScroll:!1,showPlaceholderImage:!1,basketDeviceImagePlaceholder:"",isPlanCentricPhoneChosenLayout:!1,hidePlanCentricPlanChange:!0,showPlanVectors:!0,useNewLoadingStates:!1,showPlanCentricTariffsAccordion:!1,showSimoTariffsAccordion:!1,showMobileTabTextOnDesktop:!1,isShowCopyLinkBasket:!1,showCustomisePlanFeature:!1,isFlexResetAtTop:!1,isFlexResetAtTopOnMobile:!1,isFlexResetHiddenBeforeChange:!0,showFlexConfirmButton:!1,showFlexTotalCost:!0,showFlexScreenCostsOnResult:!1,isAlwaysShowingFlexPrices:!1,showSummaryCustomPlanButton:!1,displayPriceAfterMainBenefits:!1,showAccessoriesProductVariant:!1,shouldApplyAutoPayOffer:!1,hideFixedBasketOnScroll:!1,isScrollingOnTrigger:!0,hideModalCloseBtn:!0,isAccessoryItemWrappedInAButton:!0,isAddOnItemWrappedInAButton:!0,externalLinkImgRegular:null,isCustomSelect:!1,contractLengthReverse:!1,shouldOfferAccordionOpen:!1,hideDevicePaymentPlan:!1,showDevicePaymentLengthInDeviceSection:!1,deviceConnectionChargeLabel:"",hideBYODImage:!1,isUsingBulkPurchase:!1,shouldOpenInitialLineAccordion:!0,showStandardPriceOnSIMO:!1,hideCondensedAccordionButtonOnDesktop:!1,showResultTariffSubHeader:!0,dynamicFlexRange:!1,displayFlexBetweenProductAndTariffCards:!1,showProtectionConfirmationModal:!1,useRadioContractLengthButtons:!1,saveUpfrontCostInFlex:!1,dismissableProtectionDeclineModal:!1,showWhatsNotIncludedLabel:!1,equipmentAccordionOpen:!0,offerAccordionOpen:!0,shouldUpdateContractFlexDefaultDuringSwitchBundle:!0,benefitTooltipPlacement:"right",showPerLinePriceInSubscription:!1,showBasketProtectionName:!1,inPageScrollIntoViewOffsetTop:50,showAutoPayToggle:!1},selectBox:{isShowDeliveryMessage:!1},resultCta:{defaultCart:!0,partnerCart:!1,resultNextScreenType:!1,hideCartBeforeScreen:!1,multilineCta:!1},tabs:{initialVisibleTabIndex:1},exitScreen:{isShowBackButton:{default:!1},btnUrl:{default:"http://www.google.com"},imgUrl:{default:"http://via.placeholder.com/40x40"},voiceOver:{default:{}},shouldOpenInNewTab:!0},topNav:{height:50,startAgainIconHeight:24,startAgainIconWidth:21,chevronLeftWidth:14},topNavConfig:{isShowCopyButton:!1,isShowKebabMenu:!1,isShowMenu:!1,isShowMenuStartAgainButton:!1,isShowRevertButton:!1,shouldRenderStartAgain:function(){return!0},shouldRenderBackButton:function(){return!0}},answers:{showTextBrandType:!1,showTicks:!0,scrollToAccordion:!1,isOneClickAnswerOn:!1,oneClickAnswerDelay:1e3},slider:{handle:{width:50,height:50,enlargementValue:1.1}},vectors:{type:"textOnly",revealOffset:1500,isShowFinalLoading:!1,showMultilineVectors:!1},shield:{isShowShield:!1},copy:{resultHeader:{default:function(){return"People with your answers choose this deal..."},paym:function(e){var t=e.deviceName;return"People with your answers choose this ".concat(t," deal...")},phone_not_chosen:function(e){var t=e.deviceName;return"People with your answers choose this ".concat(t," deal...")},payg:function(e){var t=e.deviceName;return"People with your answers choose this ".concat(t," deal...")},paymchosen:function(){return"Great choice! Here's how it compares to the most popular alternatives..."},phone_chosen:function(){return"Great choice! Here's how it compares to the most popular alternatives..."},paympartchosen:function(e){var t=e.deviceName;return"The ".concat(t," is a great match for you! Here’s why...")},phone_part_chosen:function(e){var t=e.deviceName;return"The ".concat(t," is a great match for you! Here’s why...")},upfront_smart_budget_lowered:function(e){var t=e.deviceName;return"The ".concat(t," is a great phone, meets your requirements and is more affordable")},multiline:function(e){var t=e.deviceName;return"The ".concat(t," is a great match for you! Here’s why...")},multiline_individual_tariffs:function(){return"People with your answers choose these Unlimited data plans..."},multiline_shared_tariffs:function(e){var t=e.planName;return"The most popular shared data plan for people with your answers is ".concat(t)},simo:function(e){var t=e.planName;return"People with your answers choose the ".concat(t," plan...")},byod:function(e){var t=e.planName;return"People with your answers choose the ".concat(t," plan...")}},fullPriceCopy:"Retail price:",sendToCartLoading:{heading:"Please wait a moment while we add this to your cart",subHeading:"This can take up to 10 seconds"},resultSubheader:{default:function(){return"Scroll down to see your recommended plan"},simo:function(){return"We'll ask you some details about your phone in the next step"},multiline_device:function(){return"We'll look at plans once you've chosen a phone for each line"},multiline_individual_tariffs:function(){return"Click the tabs to see the perfect plan for each line"},multiline_shared_tariffs:function(){return"Fixed data plans are shared across all your lines"},byod:function(){return"Your best matching plan"}},resultsSubHeaderProtectionNotice:"",resultSubHeaderProtectionNoticeClass:"_15gifts-insurance-notice-link",resultTariffHeader:{default:function(e){var t=e.phoneName;return"Your best matching tariff for the ".concat(t)},paym:function(e){var t=e.phoneName;return"Your best matching tariff for the ".concat(t)},phone_not_chosen:function(e){var t=e.phoneName;return"Your best matching tariff for the ".concat(t)},paymchosen:function(e){var t=e.planName;return"This ".concat(t," looks ideal for you")},phone_chosen:function(e){var t=e.planName;return"This ".concat(t," looks ideal for you")},paympartchosen:function(e){var t=e.planName;return"This ".concat(t," looks ideal for you")},phone_part_chosen:function(e){var t=e.planName;return"This ".concat(t," looks ideal for you")},upfront_smart_budget_lowered:function(e){var t=e.planName;return"This ".concat(t," looks ideal for you")}},resultBenefitsHeader:"",resultTariffSubHeader:"Here are some alternative plans",resultTariffLegalTaxIncluded:"With AutoPay discount. Taxes and fees included.",resultTariffLegalTaxExcluded:"With AutoPay discount. Plus taxes and fees.",resultExitHeader:{default:"Please sign in to upgrade or add a device to your account."},resultSubsriptionModifierOffer:function(e){var t=e.offer;return"Clubcard Price ".concat(t)},resultExitText:{default:[""]},resultExitBtn:{default:"Sign in"},resultBasketPlanTitle:"Plan",resultPlanSuffix:{data:{default:"data"},minutes:{default:""},texts:{default:""},length:{default:" contract"}},resultPlanDataSuffix:"data",resultPlanMinutesUnit:"minutes",resultPlanTextsUnit:"texts",resultBasketCtaBuy:{default:"Buy Now",addMoreLinesCTA:"Proceed"},resultBasketHeader:"",resultBasketCtaNextMultiLine:"Finish & find plan",resultBasketCtaNextScreen:{default:"Select & continue"},resultBasketProtectionCtaNextScreen:"Select & continue",resultBasketCtaPreorder:"Preorder",resultBasketCtaNoProtection:"Continue without protection",resultBasketFlexLabel:"Want more control over your monthly payments?",resultPhoneDetailsCondensedMobileButton:"Edit colour & storage",phoneSummaryHeader:{default:"Phone",tablet:"Tablet"},phoneSummaryCustomPlanLink:"",resultAddLine:"Add another device",resultColorCapacityAccordionMoreButtonText:"Edit colour & storage",resultColorCapacityAccordionLessButtonText:"Edit colour & storage",resultCostUpfrontLabel:{default:function(){return"Upfront"}},resultCostMonthlyLabel:{default:function(){return"Monthly"}},resultCostMonthlyClubcardLabel:"",resultDiscountMonthlyPrefix:"-",resultDiscountUpfrontPrefix:"-",resultDiscountMonthlySuffix:"/mo.",resultDiscountUpfrontSuffix:"/down",resultCostMonthlySuffix:"/mo.",resultPhoneSummaryCostMonthlyLabel:"Monthly",resultPhoneSummaryCostUpfrontLabel:"Upfront",resultPhoneSummaryDevicePaymentLabel:"Device payment",resultPhoneSummaryProtectionHeader:"Insurance",resultPhoneSummarySimCardHeader:"SIM Card",resultPhoneSummaryDiscountAppliedHeader:"Discount applied",resultBasketTerms:!1,resultBasketPlanAltHeader:!1,resultDeviceTermsAndConditions:{template:function(){return""}},resultPlanTermsAndConditions:{template:function(){return""}},resultTariffAccordionMoreButtonText:{default:"More plans"},resultTariffAccordionLessButtonText:{default:"Fewer plans"},resultOfferSeeDetailsLink:"See the details",resultOfferDisclaimerIcon:"i",resultDeliveryMessageIcon:"i",resultBenefitsTooltipIcon:"i",resultBenefitsTooltipAriaLabel:"Toggle for more information",resultWarrantyHeader:"And would you like an extended warranty",resultPlanChange:"Change",resultCarouselTitle:"Plus more",carouselIncludedOfferAdditionCopy:"",devicePaymentChange:"Change",bulkPurchaseLineQty:{header:"Order Summary",btn:"Change",deviceLabel:" per device",planLabel:" per plan",deviceQty:function(e,t){return"".concat(e," device").concat(1===Number(e)?"":"s"," ").concat(t?" - Your own":"")},planQty:function(e){return"".concat(e," plan").concat(1===Number(e)?"":"s")},dppBasketCopy:function(e){return"Price for ".concat(e," device").concat(1===Number(e)?"":"s")},tariffBasketCopy:function(e){return"Price for ".concat(e," plan").concat(1===Number(e)?"":"s")}},deliveryMessage:{default:!1,tooltip:""},creditClass:{default:!1,tooltip:"Your final device financing agreement will be determined via a credit check at the checkout."},devicePlanLabel:"Choose how to pay for device",deliveryPreorderMessage:"",flexResetButton:"Reset",flexConfirmButton:{default:"Back to results",withChanges:"Select this plan"},flexPriceLabel:"monthly total",flexResetYourRecommendation:"Reset to your recommendation",originalPriceStrikethroughText:"",productVariantsHeading:"",accessoriesSelectLabel:"Accessories:",colourSelectLabel:"Colour:",capacitySelectLabel:"Capacity:",deviceContractLabel:" month device plan",specHideLabel:"- Hide device spec",specShowLabel:"+ Show device spec",stickyBasketButtonCopy:"See more",productDetailsCustomisePlanButton:"Customise phone plan",productDetailsCustomisPlanDetails:function(e){var t=e.contract,n=e.monthly,r=e.upfront;return"Phone Plan: ".concat(t," months, £").concat(n," a month, £").concat(r," upfront")},productDetailsCustomisePlanNotice:function(e,t){return"Phone Plan is a credit agreement (over ".concat(e," - ").concat(t,"m). See T&Cs below for details.")},productDetailsCondensedAccordionOpen:"",productDetailsCondensedAccordionClosed:"",showResultBasketDeliveryButton:!1,basketTotal:{default:"Your total"},basketTotalMultiline:function(e){return"Your total for line ".concat(e)},mobileBasketHeading:"",byodPhoneNameReplacementCopy:"You're bringing your own",planToggleCta:{multiline_individual_tariffs:"Switch to a shared data plan >",multiline_shared_tariffs:"< Switch back to Unlimited plans"},basketTotalSubcopy:{default:""},basketTotalCreditCopy:function(e){return"for ".concat(e," mos.")},basketTotalPayInFullCopy:"",benefitAccordionButtonOpen:{subscription:"",protection:""},benefitAccordionButtonClosed:{subscription:"",protection:""},upgradeMessage:{default:""},flexHeaderDefaultCopy:function(e){return"Let's tailor your ".concat(e," plan to best suit you")},flexSubheaderDefaultCopy:function(e,t){return"The total cost of your ".concat(e," (£").concat(Number(t).toFixed(2),") always remains the same,\n and your repayments will always be completely interest-free.")},flex:{upfrontCost:{min:"min",max:"max",suffix:"upfront",header:""},contractLength:{min:"min",max:"max",suffix:"month contract",header:""},header:""},flexCardTotalHeader:"Monthly total for your phone and tariff",flexCardFootnote:function(e){var t=e.minutes,n=e.texts;return"Includes ".concat(t," minutes and ").concat(n," texts")},protectionHeaderCopy:{default:function(e){var t=e.deviceName,n=e.endText;return"How would you like to insure your new ".concat(t).concat(n)}},protectionSubheaderCopy:{default:function(e){return"Most people who buy the ".concat(e," choose to protect it against loss or damage")},byod:function(){return"Most people choose to protect their phones against loss or damage"}},protectionCostMonthlyLabelCopy:"a month",protectionAccordionMoreButtonText:"More protection options",protectionAccordionLessButtonText:"Less protection options",protectionDisclaimer:"",isChangeProtectionDisclaimerLocation:!1,protectionStateSwitchToggleOnCaption:"",protectionStateSwitchToggleOffCaption:"",protectionSelectedButton:"Remove",protectionButton:"Add",subscriptionModifierHeader:function(){return"Your recommended tariff"},subscriptionModifierEditedHeader:"Your edited tariff",subscriptionHeading:"Data",accessoriesHeading:function(e){return"Add accessories for your ".concat(e)},accessoriesCopy:function(){return"Customers like you choose these accessories"},addAccessory:"Add",removeAccessory:"Remove",accessoriesBasketHeader:"Accessories",resultBasketAccessoriesCtaNextScreen:"Next steps",resultBasketAddonsCtaNextScreen:function(){return"Next steps"},accessoryStrikethroughText:"was",bubbleHeader:{engagement:"Want some help finding the right product?",awareness:"Thanks",welcome:"Welcome Back",feedback:"Thanks"},bubbleBody:{engagement:"Answer a few quick questions...",awareness:"We've saved your results over here in case you need them",welcome:"We've saved your results over here in case you need them",feedback:"Quick question... did you find this tool useful?"},bubbleButtonCtaPrimary:{default:"Yes"},bubbleButtonCtaSecondary:{default:"No",engagement:"No thanks"},bubbleReader:{engagement:"Alert displayed. Get help finding your ideal phone and plan. Click Help Me Choose link.",engagementNotNow:"Alert displayed. Reminder to get help finding your ideal phone and plan. Click Help Me Choose link.",feedback:"Alert displayed. Request for feedback after use of the Help Me Choose link. Click Yes or Not now.",default:"Alert displayed. Reminder to get help finding your ideal phone and plan. Click Help Me Choose link."},overlayEngagementHeader:{recommendation:function(){return"Forgotten something?"},engagedOpened:"Still need a hand?",engagedNotOpened:"Need a hand?",notEngaged:"Tired of searching?"},overlayEngagementBody:{recommendation:function(e){return"We've saved your ".concat(e," so you can pick up where you left off")},engagedOpened:"Pick up where you left off",engagedNotOpened:"Take our quiz to find your ideal phone and plan",notEngaged:"Answer a few questions and find your ideal phone and plan"},overlayEngagementButtonCtaPrimary:{recommendation:function(){return"See it now"},engagedOpened:"Find my deal",engagedNotOpened:"Get started",notEngaged:"Get started"},overlayEngagementButtonCtaSecondary:{recommendation:function(){return"Maybe later"},engagedOpened:"Not now",engagedNotOpened:"Not now",notEngaged:"Not now"},overlayEngagementBlankRecommendedDevice:"recommended device",overlayEngagementBlankRecommendation:"recommendation",bubbleHeaderEngagementNotNow:"",bubbleHeaderMobileEngagementNotNow:"",bubbleBodyEngagementNotNow:"OK, hit the tab if you need help later",bubbleBodyMobileEngagementNotNow:"OK, hit the circle if you need help later",bubbleHeaderFeedbackPositive:"Great, glad it was useful",bubbleBodyFeedbackPositive:"Anything we could do to make it better?",bubbleHeaderFeedbackNegative:"How could we improve?",bubbleBodyFeedbackNegative:"(We'll get working on fixing it)",bubbleBodyFeedbackThanksHeading:"Thanks",bubbleBodyFeedbackThanksBody:"We appreciate your feedback.",bubbleBodyFeedbackMobileThanksBody:"We appreciate your feedback.",bubbleButtonSubmitFeedback:"Submit",dataCalculatorPrefix:"Your estimated data usage:",dataCalculatorSuffix:"",smartBudgetTitle:"Tip: ",smartBudgetPrefix:"Based on your answers, a budget of ",smartBudgetSuffix:" looks about right.",progressLabel:"Progress:",navBtnBack:"Back a step",navBtnStartAgain:"Start again",phoneSummaryDeviceUpfrontLabel:"down payment",resultCostMonthlyPrefix:"",chatButton:"Start chat",chatButtonLabel:"",copyRecommendationLink:{initial:"Copy link to recommendation",copied:"Link copied to clipboard"},addMoreLinesModal:{title:"Would you like to add another line?",subcopy:"We'll show you plans once you've added all your lines."},bulkPurchaseModal:{copy:{heading:"Can you confirm how many phone lines you would like to purchase?",text:"Some of our plans are eligible for multiline discounts."},ctaAccept:"Confirm",inputErrorMessage:"Special characters are not supported, please enter numbers only.",inputMessage:"Please enter the number of lines you want to buy.",label:"Quantity",placeHolder:"0"},deliveryModal:{title:"Free UK delivery with DPD",subcopy:["We deliver to your home address Monday to Saturday, excluding bank holidays.","Order before 4pm, Monday to Friday and you’ll get it next day (98% of orders are delivered next day)","Order after 4pm or at the weekend and you’ll get it within two working days","Deliveries to remote areas and Northern Ireland may take a little longer.","You’ll get text and email updates from us and DPD about your delivery. You can also use the DPD app to track your delivery"],ctaAccept:"Ok"},deviceConnectionChargeModal:{template:function(){return""},title:"Device connection charge",ctaCancel:"Cancel"},ineligiblePlanModal:{title:"Are you sure?",subcopy:function(e){var t=e.offer,n=e.option;return"Choosing ".concat(n," will remove your ").concat(t," offer.")},ctaConfirm:{capacity:"Yes, change my storage",devicePaymentPlans:"Yes, change my plan"},ctaCancel:"No, keep my current offer"},loginOfferModal:{default:{title:function(e){var t=e.phoneName;return"Log in to see offers for your ".concat(t)},subcopy:function(){return"Get access to our existing customer offers."},ctaConfirm:"Log in",ctaCancel:"Skip"},simo:{title:function(){return"Log in to upgrade or get an additional line"},subcopy:function(e){var t=e.planName;return"Just add your ".concat(t," plan in the next step.")}}},protectionDeclineModal:{template:function(){return""},header:function(){return""},content:{},ctaConfirm:"Add protect",ctaCancel:"No, thanks"},protectionTermsModal:{title:"Insurance Plan Terms and Conditions",ctaAccept:"Accept",ctaCancel:"Cancel"},startAgainModal:{default:{title:"Are you sure you want to start again?",subcopy:"You'll lose all your answers if you start again",ctaRestart:"Yes, start again",ctaRestartLine:"Just restart this line",ctaCancel:"Cancel"}},whatsNotIncludedModal:{title:"What's not included?",subcopy:""},fccLabels:{title:"",description:"",links:[]},resultAutoPayToggleCopy:""},dataCalculator:{showDataCalculator:!0,ranges:[]},plan:{hidePlanLengthCard:!1,hidePlanLengthCardOnPaym:!1,hidePlanMinutesCard:!1,hidePlanTextsCard:!1},phoneSummary:{},prices:{},loading:{loadType:r.oJ.SPOKES,clickToContinueCopy:"Continue",timeoutWait:4e3,introScreen:{copy:{header:"Let's find the phone and plan that are right for you",returningToResultHeader:"Just a second while we load up your recommendation...",body:"Answer a few quick questions",button:"Get started"}},beforeResult:{loadType:r.oJ.VECTOR,wait:3e3,vectorRevealOffset:1500},startAgain:{loadType:r.oJ.START_AGAIN,header:"OK, let's start over..."}},multiline:{showSteps:!1},paletteStyles:e,answersStyles:{},exitScreenStyles:{},launchpadStyles:{animationVar:{height:"100%"}},loadingStyles:{introScreen:{base:{},image:{},copyContainer:{},header:{},body:{},button:{}},businessIntroScreen:{base:{},image:{},copyContainer:{},header:{},body:{},button:{}},vectorScreen:{wrapper:{},header:{},list:{},listItem:{},firstListItem:{},listItemText:{},listItemTextHidden:{},listItemTextShown:{},listItemLoadingContainer:{},loadingStyles:{},listItemLoadingComplete:{},loadingTick:{},loadingTickAnim:{}},startAgainScreen:{}},navStyles:{},overlayBackgroundStyles:{},overlayStyles:{},inPageStyles:{},questionStyles:{},dataCalculatorStyles:{},resultHeaderStyles:{},phoneSummaryStyles:{},resultStyles:{},resultTabContentStyles:{},sliderAnswersStyles:{},sliderStyles:{},specsStyles:{},smartBudgetStyles:{withTooltip:{right:{},left:{}}},tooltipStyles:{},tabContentStyles:{},tariffCard:{isOfferExternal:!1,isOfferBefore:!1,alterSubscriptionOffers:function(e){return e.filter((function(e){return"Banner"!==e.displayType}))}},textDescriptionStyles:{},topNavStyles:{},vectorStyles:{},engineStyles:{},basketStyles:{},pullStyles:{},mediaResultContainer:{extrasList:{default:{isWithControl:!0,isWithCta:!1}},offer:{toggletip:{moreInfoText:"i",moreInfoAriaLabel:"Toggle for more information"}}}}}},1957:function(e,t,n){"use strict";var r="#D5D5D5";t.c={breakpoints:{ultraSmall:320,extraSmall:480,small:768,medium:1024,large:1300},zIndexScale:{zIndexScaleShield:999999999,zIndexScaleInPage:0,zIndexScaleOverlay:999999999,zIndexScaleOverlayBackground:999999998,zIndexScaleDraw:999999997,zIndexScalePull:999999997,zIndexScalePopup:999999997,zIndexScalePush:999999997},fontFamilyPrimary:"MarkPro",fontFamilyPrimaryBold:"MarkPro-Bold",fontFamilySecondary:"MarkPro",fontSizeMobileHeader:24,fontSizeHeader:36,fontSizeHero:36,fontSizeBody:16,fontSizeSmall:12,fontSizeMedium:20,fontSizeSubHeader:28,lineHeightMobileHeader:"26px",lineHeightHeader:"42px",lineHeightSubHeader:"30px",lineHeightBody:"20px",lineHeightSmall:"14px",colorPrimary:"#8D9548",colorSecondary:"#9BBD42",colorBodyFont:"#272727",colorBodyFontInverted:"#FFFFFF",colorDivider:r,colorDisabled:"#e9e9e9",colorBasket:"#E7EEEE",paddingMedium:14,borderColorBase:r,borderRadiusBase:4,boxShadowBase:"inset 0 1px 3px 0 rgba(0,0,0,0.1)",resultTransitionDurationHeader:".5s",resultTransitionDurationTabs:".5s",resultTransitionDurationTabContent:".5s",resultTransitionDurationTabContentWrapper:".5s",resultTransitionDurationTabContentLoading:".5s",resultTransitionDurationRightContent:".5s",resultTransitionDurationMobileNavLinks:".5s",resultAppearTransitionDelayHeader:"0s",resultAppearTransitionDelayTabs:"0s",resultAppearTransitionDelayTabContent:"0s",resultAppearTransitionDelayTabContentWrapper:"0.25s",resultAppearTransitionDelayTabContentLoading:"0s",resultAppearTransitionDelayRightContent:"1s",resultAppearTransitionDelayMobileNavLinks:"1s"}},9296:function(e,t,n){"use strict";n.d(t,{y:function(){return l}});var r=n(8084),o=n.n(r),i=n(7320),a=n.n(i),c=n(8168),l=function(e){return function(t){return a().get(e,t)||{}}};t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=function(e){return a().get(e,"paletteStyles")||{}}(e),i=l(e)(n),u=(0,c.c)(i,["paletteStyles"]),s=t({configStyles:u,paletteStyles:r})||{};return o()(s,u)}},6728:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var r=function(){var e;return window.devicePixelRatio>1||(window.matchMedia&&(e=window.matchMedia("\n (-webkit-min-device-pixel-ratio: 1.5),\n (min--moz-device-pixel-ratio: 1.5),\n (-o-min-device-pixel-ratio: 3/2),\n (min-resolution: 1.5dppx)\n ")),!(!e||!e.matches))},o=function(){return"ontouchstart"in window};function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=o().get(e,"screen.width"),r=o().get(e,"window.width");return(n>r?window.innerWidth:r)>=o().get(t,"breakpoints.small")}}},7364:function(e,t,n){"use strict";n.d(t,{K_:function(){return u},Mj:function(){return c},__:function(){return l},cf:function(){return a},eG:function(){return o},oF:function(){return i}});var r=n(8648),o=function(e,t,n,o){return{type:r.g9.ENGAGEMENT.FULFILL_DELAY_RULE,payload:{rule:e,rootIndex:t,nestedIndex:n},data:o}},i=function(e){return{type:r.g9.ENGAGEMENT.ENGAGE_REASON,data:e}},a=function(e){return{type:r.g9.ENGAGEMENT.ENGAGE,data:e}},c=function(e){return{type:r.g9.ENGAGEMENT.ENGAGED_OR_CLICKED,data:{interaction:e}}},l=function(e){return{type:r.g9.ENGAGEMENT.SUPPRESS,payload:e}},u=function(){return{type:r.g9.TRACKING.ENGAGEMENT_BUBBLE_SUPPRESSED}}},2328:function(e,t,n){"use strict";n.d(t,{C:function(){return o},i:function(){return r}});var r={ENGINE_WRAPPER:"_15gifts-engine",ENGINE_MAIN:"_15gifts-engine-main",ENGINE_PROGRESS_WRAPPER:"_15gifts-engine-progress-wrapper",ENGINE_ACCORDIONS_WRAPPER:"_15gifts-engine-accordions-wrapper",ENGINE_NAV_WRAPPER:"_15gifts-engine-nav-wrapper",ENGINE_MODAL_BLOCK:"_15gifts-engine-modal-block",ENGINE_MODAL_HEADER:"_15gifts-engine-modal-header",ENGINE_MODAL_PARAGRAPH:"_15gifts-engine-modal-paragraph"},o={ENGINE_WRAPPER:"_15gifts-engine-testId",ENGINE_MAIN:"_15gifts-engine-main-testId",ENGINE_PROGRESS_WRAPPER:"_15gifts-engine-progressWrapper-testId",ENGINE_NAV_WRAPPER:"_15gifts-engine-navWrapper-testId"}},8392:function(e,t,n){"use strict";n.d(t,{Ad:function(){return a},E$:function(){return N},IH:function(){return I},M7:function(){return f},Qj:function(){return k},Ql:function(){return g},Qo:function(){return y},Ut:function(){return d},Uv:function(){return h},YR:function(){return P},Yj:function(){return s},_I:function(){return T},_e:function(){return O},_g:function(){return R},am:function(){return u},cp:function(){return _},e8:function(){return E},es:function(){return l},ew:function(){return D},ey:function(){return m},gD:function(){return p},gf:function(){return C},iC:function(){return x},oM:function(){return c},qA:function(){return b},sN:function(){return v},tH:function(){return S},yI:function(){return j},y_:function(){return w},yg:function(){return A}});var r=n(8648),o=n(5644),i=n(6472);function a(e,t){return{type:i.c.TOGGLE_ENGINE_OPEN,data:{trigger:e,questionData:t}}}var c=(0,o.c)(i.c.GO_BACK);function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{type:i.c.SET_PARTNER_STATUS,payload:e}}function u(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:i.c.TOGGLE_ENGINE_PEEK,payload:e}}function s(){return{type:i.c.TRACKING.SUGGESTIONS}}function d(){return{type:i.c.MANUAL_OPEN}}(0,o.c)(i.c.TOGGLE_TOP_NAV);var f=function(){return{type:i.c.ENGINE_RESTART}},p=function(){return{type:i.c.ENGINE_RESTART_LINE}},g=function(){return{type:i.c.ENGINE_REVERT}},m=function(){return{type:i.c.TRACKING.REVERT_TO_ORIGINAL_REC_CLICK}},b=function(e){return{type:i.c.TRACKING.START_AGAIN_CLICK,data:{buttonText:e}}},y=(0,o.c)(i.c.CLEAR_RESULT_SCREEN),v=(0,o.c)(i.c.TRACKING.CLICK_ENGINE_NEXT),h=((0,o.c)(i.c.TRACKING.ENGINE_HIDDEN),(0,o.c)(i.c.ENGINE_UPDATE_VISIBILITY)),O=(0,o.c)(i.c.INITIAL_NEXT),E=(0,o.c)(i.c.SET_BRANCH_TEXT_ID),S=(0,o.c)(i.c.UPDATE_INTRO_COPY),C=(0,o.c)(i.c.ENGINE_LOADED),T=((0,o.c)(i.c.INIT_CART_INTEGRATOR),(0,o.c)(r.g9.INITIALISE));function w(e){return{type:i.c.ENGINE_TOGGLE_ENGINE_FOCUS,payload:{pauseFocusTrap:e}}}function _(){return{type:i.c.INCREMENT_COMPLETED_NEXT_REQUESTS}}function I(e){return{type:i.c.TRACKING.SHARED_PROFILE_DATA,data:{trigger:e||"Engine closed"}}}function x(){return{type:i.c.TOGGLE_MINIMISE}}var A=(0,o.c)(i.c.TRACKING.TIME_ON_PAGE),P=(0,o.c)(i.c.TRACKING.PAGE_VIEWED),N=(0,o.c)(i.c.UPDATE_PAGE_DATA),D=((0,o.c)(i.c.UPDATE_TAB_POSITION),(0,o.c)(i.c.RECOMMENDATION_LINK_COPIED)),R=(0,o.c)(i.c.LINK_AUTO_OPEN),k=(0,o.c)(r.g9.TRACKING.EXTERNAL_TRACKING_EVENT),j=((0,o.c)(i.c.TOGGLE_AFTER_RESTART),(0,o.c)(i.c.TOGGLE_NEXT_DISABLED))},6472:function(e,t){"use strict";t.c={CLEAR_RESULT_SCREEN:"CLEAR_RESULT_SCREEN",ENGINE_LOADED:"ENGINE_LOADED",ENGINE_RESTART:"ENGINE_RESTART",ENGINE_RESTART_LINE:"ENGINE_RESTART_LINE",ENGINE_REVERT:"ENGINE_REVERT",ENGINE_SCROLL:"WINDOW_ENGINE",ENGINE_TOGGLE_ENGINE_FOCUS:"ENGINE_TOGGLE_ENGINE_FOCUS",ENGINE_UPDATE_VISIBILITY:"ENGINE_UPDATE_VISIBILITY",GO_BACK:"GO_BACK",INCREMENT_COMPLETED_NEXT_REQUESTS:"INCREMENT_COMPLETED_NEXT_REQUESTS",INITIALISE:"INITIALISE",INITIAL_NEXT:"INITIAL_NEXT",INIT_CART_INTEGRATOR:"INIT_CART_INTEGRATOR",LINK_AUTO_OPEN:"LINK_AUTO_OPEN",MANUAL_OPEN:"MANUAL_OPEN",RECOMMENDATION_LINK_COPIED:"RECOMMENDATION_LINK_COPIED",SET_BRANCH_TEXT_ID:"SET_BRANCH_TEXT_ID",SET_PARTNER_STATUS:"SET_PARTNER_STATUS",TOGGLE_AFTER_RESTART:"TOGGLE_AFTER_RESTART",TOGGLE_ENGINE_OPEN:"TOGGLE_ENGINE_OPEN",TOGGLE_ENGINE_PEEK:"TOGGLE_ENGINE_PEEK",TOGGLE_MINIMISE:"TOGGLE_MINIMISE",TOGGLE_NEXT_DISABLED:"TOGGLE_NEXT_DISABLED",TOGGLE_TOP_NAV:"TOGGLE_TOP_NAV",TRACKING:{CLICK_ENGINE_NEXT:"CLICK_ENGINE_NEXT",ENGINE_HIDDEN:"ENGINE_HIDDEN",PAGE_VIEWED:"PAGE_VIEWED",REVERT_TO_ORIGINAL_REC_CLICK:"REVERT_TO_ORIGINAL_REC_CLICK",SHARED_PROFILE_DATA:"SHARED_PROFILE_DATA",START_AGAIN_CLICK:"START_AGAIN_CLICK",SUGGESTIONS:"SUGGESTIONS",TIME_ON_PAGE:"TIME_ON_PAGE"},UPDATE_INTRO_COPY:"UPDATE_INTRO_COPY",UPDATE_PAGE_DATA:"UPDATE_PAGE_DATA",UPDATE_PREFERRED_INTERFACE_TYPE:"UPDATE_PREFERRED_INTERFACE_TYPE",UPDATE_TAB_POSITION:"UPDATE_TAB_POSITION"}},9336:function(e,t,n){"use strict";n.d(t,{EF:function(){return D},G8:function(){return N},GK:function(){return P},Ge:function(){return m},Ij:function(){return h},Oc:function(){return b},UT:function(){return s},Ub:function(){return I},Un:function(){return c},Wy:function(){return T},Y$:function(){return p},_U:function(){return w},aO:function(){return f},am:function(){return v},eC:function(){return _},gl:function(){return S},gz:function(){return y},kX:function(){return d},mW:function(){return A},mc:function(){return x},qK:function(){return E},uK:function(){return u},wn:function(){return C}});var r=n(7320),o=n(2808),i=n(8648),a=n(2576),c=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).engine;return void 0===e?{}:e},l=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).result;return(void 0===e?{}:e)||{}},u=(0,o.M3)(c,(function(e){return(0,r.get)(e,"vars.recommendationScreenType","")})),s=(0,o.M3)(c,(function(e){return!!(0,r.get)(e,"vars.hasClubCard")})),d=(0,o.M3)(c,(function(e){return(0,r.get)(e,"savedRecommendations",[])})),f=(0,o.M3)(c,(function(e){return!!e.open})),p=((0,o.M3)(c,(function(e){return!!e.isInPageOpen})),(0,o.M3)(c,(function(e){return e.engagementRules}))),g=(0,o.M3)(c,(function(e){return e.completedNextRequests||0})),m=(0,o.M3)(c,(function(e){var t=e.progress;return(void 0===t?{}:t).step||0})),b=(0,o.M3)(c,(function(e){var t=e.partnerStatus;return void 0===t?{}:t})),y=(0,o.M3)(c,(function(e){var t=e.progress;return parseInt((void 0===t?{}:t).savedLineCount,10)||0})),v=((0,o.M3)(c,(function(e){var t=e.intents;return(0,r.get)(t,"next",[]).join()})),(0,o.M3)(d,(function(e,t){var n=[],r=e.length+1;if(r>1)for(var o=1;o<=r;o+=1)n.push({label:"".concat(t).concat(o.toString()),isActive:o===r,sublabel:!!e[o-1]&&e[o-1].handsetName});return n}))),h=(0,o.M3)(c,(function(e){return e.searchId})),O=(0,o.M3)(c,(function(e){var t=e.readyToOpenStatus;return void 0===t?i.M5.DEFAULT:t})),E=(0,o.M3)(O,(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.M5.DEFAULT)===i.M5.SUCCESS})),S=(0,o.M3)(O,(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.M5.DEFAULT)===i.M5.ERROR})),C=(0,o.M3)(c,(function(e){var t=e.nextStatus;return(void 0===t?i.M5.DEFAULT:t)!==i.M5.DEFAULT})),T=(0,o.M3)(c,(function(e){var t=e.nextStatus,n=void 0===t?i.M5.DEFAULT:t;return n===i.M5.SUCCESS||n===i.M5.ERROR})),w=(0,o.M3)(g,m,d,(function(e,t,n){return 1===e&&t<=1&&n.length<=0})),_=(0,o.M3)(d,(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).length})),I=(0,o.M3)(c,(function(e){var t=e.featureFlags;return void 0===t?{}:t})),x=(0,o.M3)(c,(function(e){var t=e.isHidden,n=e.isReady;return!!t&&!!n})),A=(0,o.M3)(c,l,(function(e,t){return 1===e.isResult||!(0,a._)(t)})),P=(0,o.M3)(c,(function(e){return(0,r.get)(e,"propertyDetails",{})})),N=(0,o.M3)(c,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).loading;return void 0===e?{}:e}),l,(function(e,t,n){var r=e.currentScreen,o=n.isAccessoriesScreen,a=n.isAddonsScreen,c=n.isExit,l=n.isFlexScreen,u=n.isProtectionScreen;if(t)return t.loadType===i.oJ.VECTOR?i.Yj.VECTOR:i.Yj.LOADING;switch(!0){case o:return i.Yj.ACCESSORIES;case a:return i.Yj.ADDONS;case c:return i.Yj.EXIT;case l:return i.Yj.FLEX;case u:return i.Yj.PROTECTION;default:return i.Yj[r]}})),D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(0,o.M3)(c,l,(function(n,r){var o=n.currentScreen,a=r.currentScreenIndex,c=r.isFlexScreen;switch(e[a+(c&&t>0?0:t)]||"RESULT"){case"accessories":return i.Yj.ACCESSORIES;case"addons":return i.Yj.ADDONS;case"flex":return i.Yj.FLEX;case"protection":return i.Yj.PROTECTION;default:return i.Yj[o]}}))}},7072:function(e,t,n){"use strict";n.d(t,{KM:function(){return p},U7:function(){return d},cP:function(){return f}});var r=n(7320),o=n(8648),i=n(4920),a=n(7248),c=n(8808),l=n(9948);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t=0?n((0,l.c)([v])(r.copy.resultBasketCtaNextScreen),g):t(u,800,s({},o.uo.NEXT.BACK,O,b))},f=function(e){var t,n,r=e.data,o=e.processedReady,c=o.isMinimiseDisabled,l=void 0!==c&&c,u=o.overrides,d=void 0===u?{}:u,f=r.vars.isHidden,p=!!(0,i.OW)(a.c.isExit),g=!!f,m=d.suppress||!1,b=p||g||m;return t=s({},d),n=null!=(n={suppress:!!b,isMinimiseDisabled:l})?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})),t},p=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=(0,r.get)(e,"engine.copyLinkBaseUrl"),o=(0,i.OW)(a.c.searchId);return"".concat(n,"/?15giftsSearchID=").concat(encodeURIComponent(o),"&leapShowOverlay=1&originalUID=").concat((0,r.get)(window,"__evo.uniqueId"),"&15giftsSource=").concat(t,"&__evo_show=1")}},1140:function(e,t,n){"use strict";n.d(t,{a:function(){return o},g:function(){return r}});var r={ADD_TO_CART_RESULT:"addToCartResult",ANSWERED_QUESTION:"answeredQuestion",ENGINE_CLOSED:"engineClosed",ENGINE_HIDDEN:"engineHidden",ENGINE_LOADED:"__15giftsLoaded",ENGINE_OPENED:"engineOpened",ENGINE_OPENED_TAB:"engineOpenedTab",ENGINE_OPENED_LAUNCHPAD:"engineOpenedLaunchpad",ENGINE_OPENED_INPAGE:"engineOpenedInpage",ENGINE_SHOWN:"engineShown",CHAT_OPENED:"chatOpened",CHAT_CLOSED:"chatClosed",CHAT_CLICKED:"chatClicked",EXIT_SCREEN:"exitScreen",LOGIN:"login",PROFILE_EVENT:"profileEvent",RECOMMENDATION:"recommendation",RUNNING_SPLIT_TESTS:"runningSplitTests",HOT_CONTROL:"hotControl",HOT_TREATED:"hotTreated",LAUNCHPAD_SHOWN:"launchpadShown",SERVICE_QUALIFICATION:"LQA",SERVICE_SUCCESS:"LQS",SERVICE_FAIL:"LQF",SERVICE_ERROR:"LQE",POSTCODE_CHECKER_SHOWN:"addressCheckerShown"},o={LAUNCHPAD:"launchpad",TAB:"tab",BUBBLE:"engagement_bubble",INPAGE:"inpage",SUPER_ENGAGEMENT:"super_engagement",EXTERNAL_TRIGGER:"external_trigger"}},9652:function(e,t,n){"use strict";n.d(t,{q:function(){return d},c:function(){return f}});var r=n(4936),o=n.n(r),i=n(424),a=n(5088),c=n(9336),l=n(4632),u=n(7320);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=new(o()),f=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,n=void 0===t?"":t,r=e.state,o=void 0===r?{}:r;return(0,u.get)(o,["events",n,"isEnabled"],!1)}({event:e,state:t}))return!1;var r,o,f,p,g,m,b,y,v=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.direction,n=e.str,r=void 0===n?"":n,o=t?"".concat(r," "):" ".concat(r);return r?o:r},l=n(5048);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{}).capacity,t=void 0===e?[]:e,n=Array.isArray(t)?(0,l.c)(t):t,r=n.capacity,o=void 0===r?"":r,i=n.value;return(void 0===i?"":i)||o})),f=(0,r.M3)(i.I$,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).colour,t=void 0===e?[]:e,n=Array.isArray(t)?(0,l.c)(t):t,r=n.name,o=void 0===r?"":r,i=n.value;return(void 0===i?"":i)||o})),p=(0,r.M3)(d,f,i.I$,o.uK,(function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).handsetName,r=c({str:t}),o=c({str:e}),i="".concat(n).concat(o).concat(r);return n?i:""})),g=(0,r.M3)([i.bl,i.I$,o.uK],(function(e,t,n){var r=t.handsetPartnerSkuId;if((0,a.A3)(n))return null;if((0,a.kb)(n))return{name:"Bring your own device"};var o=function(e){var t;if(!(null===(t=e)||void 0===t?void 0:t.handsetName))return null;var n=e.capacity.find((function(e){return e.active})),o=e.colour.find((function(e){return e.active}));return{device:{name:e.handsetName,image:{alt:e.handsetName,src:e.handsetImage},options:s({},n&&{capacity:{name:n.value}},o&&{colour:{hex:o.hex,name:o.value}}),sku:e.handsetPartnerSkuId},isSelected:r===e.handsetPartnerSkuId}},i=o(t);return(0,a.g3)(n)||(0,a.ch)(n)?{primary:i,alternativeHigher:null,alternativeLower:null}:{primary:i,alternativeHigher:o(e[2]),alternativeLower:o(e[0])}}))},4852:function(e,t,n){"use strict";n.d(t,{i4:function(){return y}});var r=n(8648),o=n(3336),i=n(9336),a=n(384),c=n(7556),l=n(5048),u=n(1616);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{}).inPage;return void 0===e?{}:e},c=(0,r.M3)(a,(function(e){return e.isEnabled})),l=(0,r.M3)(a,i.mk,(function(e,t){var n=e.preferredInterfaceType;return!t.isUsingInterfacePreferencing||n===o.sz.INPAGE||n===o.sz.UNSET})),u=(0,r.M3)(a,l,(function(e,t){return e.isEnabled&&t}))},3868:function(e,t){"use strict";t.c=function(){var e,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).splitTests;return"off"!==(null===(e=void 0===t?{}:t)||void 0===e?void 0:e.in_page)}},6880:function(e,t,n){"use strict";n.d(t,{Q:function(){return vt},c:function(){return ht}});var r=n(1712),o=n(7320),i=n.n(o),a=n(1224),c=n(8648),l=n(3336),u=n(8652),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i().get(e,"window.width")0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=null;return t&&"string"==typeof t.className&&(o=e.find((function(e){return null!==t.className.match(e)}))),!(!t||!o)||(t&&!o&&re.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=200?d:200)),De(o,"width",g),o),view:{transitionProperty:"background-color, border-radius, width, height, bottom",width:"100%",height:t.pushHeight}},secondStep:{wrapper:(i={},De(i,t.pushPosition,0),De(i,"width",g),De(i,"height",s||(d>=200?d:200)),i),view:{width:"100%",height:t.pushHeight}},thirdStep:{wrapper:(a={},De(a,t.pushPosition,0),De(a,"width",g),De(a,"height",p),a),view:{width:"100%",height:t.pushHeight}}},pushClose:{firstStep:{wrapper:(c={},De(c,t.pushPosition,0),De(c,"width",g),De(c,"height",p),c),view:{width:"100%",height:"100%"}},secondStep:{wrapper:(l={},De(l,t.pushPosition,0),De(l,"width",g),De(l,"height",s||(d>=200?d:200)),l),view:{width:"100%",height:"100%"}},thirdStep:{wrapper:(u={transitionProperty:"bottom, right, left, top, width, height",bottom:t.bottomSettlePosition},De(u,t.pushPosition,t.pushPositionValue),De(u,"width",f),De(u,"height",t.hasOwnProperty("wrapperHeight")?t.wrapperHeight:s||d),u),view:{transitionProperty:"background-color, border-radius, width, height, bottom",width:"100%",height:"100%"}}}}}(t,n);return j()(r,o)}(W,{viewWidth:ze,viewHeight:qe,drawHeight:Se&&xe,windowWidth:Z,windowHeight:J},(Je=o.push,Ze=void 0===Je?{}:Je,j()({borderColour:"#D9E2E2",pushPosition:"left",pushPositionValue:10,appearPosition:"bottom",bottomSettlePosition:25,initialShowDelay:2,pushHeight:"100%"},Ze))),tt=function(){clearTimeout(re),He(!0),nt()},nt=function(){re=setTimeout((function(){He(!1)}),1500)},rt=function(){M&&(0,v.qq)(h.c.welcomeBubbleSeen,!0)},ot=function(){if(E&&se&&we>0)if(he||Se)switch(we){case 1:return ce=!Se,{wrapperState:et.pushOpen.firstStep.wrapper,viewState:pe?et.pushOpen.firstStep.view:{},spanStyle:et.spanOpen,hideTab:!0};case 2:return{wrapperState:et.pushOpen.secondStep.wrapper,viewState:pe?et.pushOpen.secondStep.view:{},spanStyle:et.spanOpen,hideTab:!0};default:return{wrapperState:et.pushOpen.thirdStep.wrapper,viewState:pe?et.pushOpen.thirdStep.view:{},spanStyle:et.spanOpen,hideTab:!0}}else switch(we){case 1:return{wrapperState:et.pushClose.firstStep.wrapper,viewState:pe?et.pushClose.firstStep.view:{},spanStyle:et.spanOpen,hideTab:!0};case 2:return{wrapperState:et.pushClose.secondStep.wrapper,viewState:pe?et.pushClose.secondStep.view:{},spanStyle:et.spanOpen,hideTab:!0};default:return{wrapperState:et.pushClose.thirdStep.wrapper,viewState:pe?et.pushClose.thirdStep.view:{},spanStyle:et.spanClose,hideTab:!1}}else if(!E)return ce=!1,{wrapperState:et.wrapper,viewState:pe?et.view:{},spanStyle:et.spanOpen};return{wrapperState:pe&&be?et.appear:{},viewState:{},spanStyle:{}}},it=function(){var e=w&&w.current?w.current.offsetWidth:null,t=w&&w.current?w.current.offsetHeight:null;Ve(e||"auto"),Xe(t||"auto"),ge(!0)},at=function(){var e=ot().wrapperState.transitionDuration;3!==we&&(le=!0,oe=setTimeout((function(){le=!1,ct()}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0s";return e.indexOf("ms")>-1?parseFloat(e):1e3*parseFloat(e)}(e)))},ct=function(){we>-1&&!se?(de(!0),L?(z("url_show_overlay"),Oe(!0),_e("tab"===Q?1:0),de(!0),Me("tab_click"),I(),rt()):M&&(ae=setTimeout((function(){he||R(c.gR.WELCOME),(0,v.qq)(h.c.welcomeBubbleSeen,!0)}),$))):-1===we?se&&de(!1):we<3&&0!==we?ce&&_e(we+1):3===we&&(S&&(0,ne.c)(w.current)&&O&&q(),_e(0),ke(!1))},lt=ot(),ut={id:te.q6,ref:w,onClick:function(){var e;le||O||(O||(z(Le),Se?(S&&(0,ne.c)(w.current)&&q(),a()):(S&&q(),!e&&f(),!(0,v.OW)(h.c.engagedOrClicked)&&l("clicked"))),Oe(!0),_e(1),Me("tab_click"),N&&p()),rt()}},st=(Qe=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:0,n=e&&"string"==typeof e.className&&e.className.match(/_15gifts-/);return(!e||!n)&&(e&&!n&&t<6?lt(e.parentElement,t+1):!n)},ut=lt,st=n(4088),dt=n(1420);function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pt(e){for(var t=1;t0:u.isReady,isResizing:u.windowResizing,isTabVisible:(0,dt.c)({engine:u,result:m}),isUseMobileBubble:F,mobileTabPosition:L.mobileTabPosition,mobileTransitionType:L.mobileTransitionType,mobileViewType:L.mobileViewType,overlappedElement:u.page.overlappedElement,overlayMaxWidth:r.overlay.maxWidth,overlayPeekAmount:r.overlay.peekAmount,overlayTransitionDuration:r.overlay.transitionDuration,overlayTransitionTimingFunction:r.overlay.transitionTimingFunction,overlayWidth:r.overlay.width,pageTextId:u.pageTextId,paletteStyles:r.paletteStyles,peek:u.peek,peekingAnimation:r.overlay.peekingAnimation,peekingOn:r.overlay.peekingOn,preferredInterfaceType:f.preferredInterfaceType,result:Y,shouldUseThemeUI:r.engine.shouldUseThemeUI,showBubbleToggleButton:v.showToggleButton,showEngagementWhenHoveredTab:B,showTab:(0,o.get)(u,"page.showTab"),showWelcomeBubble:(0,w.eU)({launcher:p}),splitTests:y,suppress:u.suppress&&(0,O.Cy)({chat:n,config:r,engine:u,device:i,browser:t},"launcher"),tabAlternativePosition:V,tabPosition:z,tabletTabPosition:L.tabletTabPosition,tabletTransitionMaxSize:L.tabletTransitionMinSize,tabletTransitionMinSize:L.tabletTransitionMinSize,tabletTransitionType:L.tabletTransitionType,theme:{bubbleStyles:h,circleStyles:S,drawStyles:C,paletteStyles:r.paletteStyles,popupStyles:T,pullStyles:I,pushStyles:x,tabStyles:P},welcomeBackDelay:v.welcomeBackDelay,windowHeight:i.window.height,windowWidth:i.window.width}}),mt,(function(e,t,n){return gt(pt({},n,e,t),{engagementDidMount:e.isReady&&!e.suppress&&bt({actions:t,state:e}),handleTabHover:function(){var n=e.engagement,r=e.hideEngagement,o=e.hideEngine,i=e.isBubbleOpen,a=e.showEngagementWhenHoveredTab,l=t.canMouseHoverOverTab,u=t.engagementBubbleSuppressed,s=t.showBubble;!a||n.suppress||o?l(!1):(i||s(c.gR.ENGAGEMENT,!0,(0,v.OW)(h.c.engagedOrClicked)),(0,v.OW)(h.c.engagedOrClicked)?(l(!1),r&&!i&&u()):(l(!0),(0,v.qq)(h.c.engagedOrClicked,!0)))},isVisible:(!(0,y.c)({splitTests:e.splitTests})||(0,st.c)({type:e.preferredInterfaceType,isInPageEnabled:e.isInPageEnabled}))&&e.isTabVisible})}))((0,E.c)(c.C2.LAUNCHER)((function(e){var t=e.defaultTransitionType,n=e.defaultViewType,o=e.isVisible,i=e.mobileTransitionType,a=e.mobileViewType,c=e.overlappedElement,l=e.tabAlternativePosition,u=e.tabPosition,s=e.tabletTransitionMaxSize,d=e.tabletTransitionMinSize,f=e.tabletTransitionType,p=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["defaultTransitionType","defaultViewType","isVisible","mobileTransitionType","mobileViewType","overlappedElement","tabAlternativePosition","tabPosition","tabletTransitionMaxSize","tabletTransitionMinSize","tabletTransitionType"]),g=p.isNotMobile,m=p.isReady,b=p.isUseMobileBubble,y=p.suppress,v=p.windowWidth,h=(0,_.useRef)(),O=it((0,_.useState)(),2),E=O[0],S=O[1],C=it((0,_.useState)(null),2),T=C[0],w=C[1],x=A().width;(0,_.useEffect)((function(){var e=null,t=function(){if(c){var n=document.querySelector(c);n?(w(n),e&&clearTimeout(e)):e=setTimeout(t,1e3)}};return c&&t(),function(){e&&clearTimeout(e)}}),[c]),(0,_.useEffect)((function(){var e;S(null===(e=h.current)||void 0===e?void 0:e.getBoundingClientRect())}),[y]);var N=(0,_.useMemo)((function(){if(T&&l&&E&&x){var e=T.getBoundingClientRect();if(e&&(n=e,!((t=E).top>n.bottom||t.rightn.right)))return l}var t,n;return u}),[T,l,u,E,x]),D=N&&[N.toLowerCase()],R=(0,P.c)(D)(f),k=R&&s&&d&&d<=v&&v<=s,j=(0,P.c)(D)(i);g&&(j=k?R:(0,P.c)(D)(t));var L,M,B=g?(0,P.c)(D)(n):(0,P.c)(D)(a),U=g||!g&&"tab"===B?(0,r.jsx)(nt,null):(0,r.jsx)(J,null),H=(L=function(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:null,o=v(e);if(!e.getState().engine.hasEngaged&&!t.fulfilled&&m>=t.time&&!o){var a=[];a[t.type]=t.time,e.dispatch((0,i.eG)(t,n,r,a))}else b=!1},T=function(){"function"==typeof y&&y(),clearInterval(g),b=!1},w=function(e){var t=e.engine.pageId;return"".concat(s.c.engagedOrClicked,"_").concat(t)},_=function(e){var t=e.engine.pageId;return"".concat(s.c.hot,"_").concat(t)},I=function(e){return[o.g9.ENGAGEMENT.ENGAGE_REASON,a.c.MANUAL_OPEN,o.g9.TRACKING.CLICKED_LAUNCHPAD].includes(e.type)},x=function(e){var t=e.action,n=e.state;return!(0,d.yO)(n)&&!(0,u.OW)(s.c.engagedOrClicked)&&I(t)},A=function(e){var t=e.action,n=e.state,r=n.engine,o=void 0===r?{}:r,i=o.hasEngaged,a=w({engine:o}),c=!i&&!(0,u.OW)(a);return P({engine:o})&&!(0,d.yO)(n)&&c&&I(t)},P=function(e){var t=e.engine,n=t.featureFlags,r=void 0===n?{}:n,o=t.pageId;return r.allow_reengagement&&o},N=function(e){var t=e.data,n=e.isCreateInPage,i=e.isStoreInitialised,a=t.config,u=t.engine,s=t.launcher,d=(a||{}).engagement,f=(void 0===d?{}:d).isDisabledForInPage,p=(0,c.Ub)({engine:u}).externalEngagement,g=(0,l.uC)({launcher:s}),m="with_recommendation"!==(0,r.get)(u,"page.showTab")&&g!==o.Sm.QUESTION;return i&&!(p||n&&f)&&!!m}},4584:function(e,t,n){"use strict";n.d(t,{HF:function(){return m},I7:function(){return T},MF:function(){return O},Pp:function(){return b},_6:function(){return C},ae:function(){return s},c5:function(){return d},gE:function(){return l},iC:function(){return v},mu:function(){return g},mw:function(){return S},q4:function(){return h},qm:function(){return f},u_:function(){return p},wN:function(){return E},wz:function(){return u},ym:function(){return y}});var r=n(8648),o=n(4920),i=n(7248),a=n(5644),c=n(8432);function l(){return function(e){e({type:r.g9.TAB_SHOW})}}function u(){return function(e){e({type:r.g9.TAB_HIDE})}}function s(e){return{type:r.g9.TOGGLE_BUBBLE,isBubbleOpen:e}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,o.qq)(i.c.closeBubbleSeen,!0),{type:r.g9.CLOSE_BUBBLE,data:{source:e,isClosed:t}}}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:r.g9.TRACKING.ENGAGEMENT_BUBBLE_CLOSED,data:e}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.gR.AWARENESS,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:(arguments.length>2?arguments[2]:void 0)?"":r.g9.SHOW_BUBBLE,isHovered:t,bubbleType:e}}function g(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:r.g9.TAB_HOVERED,hoveredTab:e}}function m(){return{type:r.g9.TRACKING.CLICKED_ENGAGEMENT_BUBBLE}}function b(e){return e?{type:r.g9.TRACKING.SURVEY_CLICK_POSITIVE}:{type:r.g9.TRACKING.SURVEY_CLICK_NEGATIVE}}function y(e){return(0,o.qq)(i.c.feedbackSubmitted,!0),e?{type:r.g9.TRACKING.SURVEY_POSITIVE_WITH_MESSAGE}:{type:r.g9.TRACKING.SURVEY_NEGATIVE_WITH_MESSAGE}}var v=(0,a.c)(c.aA.GET_FEEDBACK_QUESTIONS_PENDING),h=(0,a.c)(c.aA.GET_FEEDBACK_QUESTIONS_SUCCESS),O=(0,a.c)(c.aA.GET_FEEDBACK_QUESTIONS_ERROR),E=(0,a.c)(c.aA.ANSWER_SURVEY_QUESTION),S=(0,a.c)(c.aA.NEXT_SURVEY_QUESTION),C=(0,a.c)(c.aA.UPDATE_LAUNCHER_COPY),T=(0,a.c)(c.aA.INIT_LAUNCHER);(0,a.c)(c.aA.SET_TAB_POSITION)},8432:function(e,t,n){"use strict";n.d(t,{Mn:function(){return o},aA:function(){return i},q6:function(){return r}});var r="_15gifts-launcher-button",o="_15gifts-launcher-view",i={GET_FEEDBACK_QUESTIONS_PENDING:"GET_FEEDBACK_QUESTIONS_PENDING",GET_FEEDBACK_QUESTIONS_SUCCESS:"GET_FEEDBACK_QUESTIONS_SUCCESS",GET_FEEDBACK_QUESTIONS_ERROR:"GET_FEEDBACK_QUESTIONS_ERROR",ANSWER_SURVEY_QUESTION:"ANSWER_SURVEY_QUESTION",NEXT_SURVEY_QUESTION:"NEXT_SURVEY_QUESTION",UPDATE_LAUNCHER_COPY:"UPDATE_LAUNCHER_COPY",INIT_LAUNCHER:"INIT_LAUNCHER",SET_TAB_POSITION:"SET_TAB_POSITION"}},1960:function(e,t,n){"use strict";n.d(t,{C3:function(){return O},GE:function(){return E},GK:function(){return y},WO:function(){return v},Y1:function(){return b},Yv:function(){return h},eU:function(){return g},uC:function(){return p}});var r=n(7320),o=n(2808),i=n(4920),a=n(7248),c=n(4632),l=n(9520),u=n(5048),s=n(2576),d=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).launcher;return void 0===e?{}:e},f=(0,o.M3)(d,(function(e){return(0,r.get)(e,"bubble",{})})),p=(0,o.M3)(f,(function(e){return(0,r.get)(e,"engagementVariant","")})),g=(0,o.M3)(f,(function(e){return!(0,i.OW)(a.c.welcomeBubbleSeen)&&(0,c.wr)()>(0,i.OW)(a.c.initialRecTime)+(0,r.get)(e,"welcomeBackThreshold",7200)})),m=(0,o.M3)(d,(function(e){return e.surveyQuestions||[]})),b=(0,o.M3)(m,(function(e){return(0,l.c)(e)||0})),y=(0,o.M3)(m,(function(e){return(0,u.c)(e)})),v=(0,o.M3)(y,(function(e){var t=e.items,n=void 0===t?[]:t;return(0,u.c)(n)})),h=(0,o.M3)(v,(function(e){return!(0,s._)(e)})),O=(0,o.M3)(m,b,(function(){var e=arguments.length>1?arguments[1]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).length>e+1})),E=(0,o.M3)(b,m,(function(e,t){return"Step ".concat(e+1,"/").concat(t.length)}))},3092:function(e,t){"use strict";t.c=function(e){switch(e){case"bottom":return"Bottom";case"ltr":return"Left";case"rtl":return"Right";default:return null}}},4088:function(e,t,n){"use strict";var r=n(8648);t.c=function(e){var t=e.isInPageEnabled,n=void 0!==t&&t,o=e.type;return o===r.sz.OVERLAY||o===r.sz.UNSET||o===r.sz.INPAGE&&!n}},1420:function(e,t,n){"use strict";var r=n(7320);t.c=function(e){var t=e.engine,n=e.result,o=(0,r.get)(t,"page.showTab");return!("yes"!==o&&("with_recommendation"!==o||!t.isResult&&!n))}},5704:function(e,t,n){"use strict";n.d(t,{a8:function(){return w},UD:function(){return I}});var r=n(1504),o=n(8692),i=n(190),a=n(7104),c=n(8648),l=n(908),u=n(3336),s=n(8348),d=n(5416),f=n(939),p=n(5088),g=n(8572),m=(0,n(2808).M3)((function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).launchpad;return void 0===e?{}:e}),(function(e){return e.isInserted})),b=n(1376),y=n(3268),v=n.n(y),h=n(9888),O=n(4848),E=(0,r.lazy)((function(){return n.e(792).then(n.bind(n,5024))})),S=function(e){var t=e.emotionRootElement,n=e.partner,o=e.store;return r.createElement(h.c,{emotionRootElement:t,partner:n,store:o},r.createElement(O.c,null,r.createElement(r.Suspense,{fallback:null},r.createElement(E,null))))};S.propTypes={emotionRootElement:v().instanceOf(HTMLDivElement),store:v().object.isRequired};var C=S;function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w="_15gifts-launchpad",_=function(e){var t=e.cache,n=e.container,o=e.emotionRootElement,a=e.partner,l=e.store,y=l.dispatch,v=l.getState,h=v(),O=h.browser,E=h.launchpad,S=h.splitTests,T=(0,s.iu)(v()),_=(0,u.ol)({activeTests:S,ownProps:E,testHook:c.C2.LAUNCHPAD}),I=_.DOMLocation,x=_.config,A=_.id,P=I||{},N=P.elementIndex,D=P.method,R=P.selector,k=(x||{}).setup||{},j=k.deviceSupportOn,L=k.disconnectObserver,M=void 0===L||L,B=k.insertOnLoad,U=void 0===B||B,H=k.insertOnMutation,G=void 0!==H&&H,F=k.mutationObserverTargetSelector;if(!A||!(0,b.Oq)(j,O))return null;var W=function(e,t){var r=l.getState(),o=r.engine,i=r.launchpad,a=o.isReady;if(!i.config.setup.isDefault){var c=e.some((function(e){var t=e.addedNodes,r=e.nextSibling,o=e.previousSibling,i=e.removedNodes;return o===n||r===n||i.length>0||t.length>0})),u=d.UL.after,s=d.UL.before,p=!n&&!c&&document.querySelector(R),b=D===u&&document.querySelector(R)!==n.previousElementSibling,v=D===s&&document.querySelector(R)!==n.nextElementSibling,h=function(){return document.body.contains(n)&&n.parentNode.removeChild(n)};if((p||b||v)&&(c=!0),r&&!c&&M&&t.disconnect(),document.querySelector(R)||h(),a&&document.querySelector(R)&&(c||!m(r))){h(),y((0,g.U9)(!1));var O=document.getElementById(w)?d.UL.replace:D;(0,f.c)()({callback:K,context:"Launchpad",element:n,elementIndex:N,interval:T,method:O,selector:R}),t.disconnect()}n||a||t.disconnect()}},K=function(e){e&&!G?(0,p.c)(void 0,e):y((0,g.U9)(!0)),G&&window&&window.__evo&&window.__evo.observeDOMMutation&&window.__evo.observeDOMMutation({onDOMMutation:W,targetSelector:F})};if(U){var z=document.getElementById(w)?d.UL.replace:D;window.onload=(0,f.c)()({callback:K,context:"Launchpad",element:n,elementIndex:N,interval:T,method:z,selector:R})}else G&&F&&window&&window.__evo&&window.__evo.observeDOMMutation&&window.__evo.observeDOMMutation({onDOMMutation:W,targetSelector:F});return r.createElement(i.C,{value:t},r.createElement(C,{emotionRootElement:o,partner:a,store:l}))},I=function(e){var t,n,i=d.cp.createElement(w),c=(0,l.c)(i),u=c.emotionRootElement,s=c.shadowRootElement,f=(0,o.c)({container:u,key:"launchpad",speedy:!1});(0,a.render)(r.createElement(_,(t=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{})||void 0===e?void 0:e.loading)||{}}),(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).loadType;return void 0===e?null:e}))},8184:function(e,t,n){"use strict";n.d(t,{A5:function(){return o},Av:function(){return s},IF:function(){return u},QP:function(){return d},Sq:function(){return g},Wq:function(){return c},_g:function(){return i},cJ:function(){return f},g$:function(){return p},wr:function(){return a},wv:function(){return l}});var r=n(8648),o=function(e,t){return{type:r.g9.SHOW_MODAL,payload:{modalProps:t,modalType:e}}},i=function(){return{type:r.g9.HIDE_MODAL}},a=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:r.g9.SHOW_ADD_MORE_LINES_MODAL,payload:e}},c=function(){return{type:r.g9.TRACKING.LOGIN_OFFER_MODAL_CANCEL_CLICK}},l=function(){return function(e){return new Promise((function(t){e({type:r.g9.TRACKING.LOGIN_OFFER_MODAL_CONFIRM_CLICK}),t()}))}},u=function(){return{type:r.g9.START_AGAIN_MODAL_CANCEL_CLICK}},s=function(){return{type:r.g9.START_AGAIN_MODAL_CLOSE_CLICK}},d=function(){return{type:r.g9.START_AGAIN_MODAL_RESTART_CLICK}},f=function(){return{type:r.g9.LINE_QUANTITY_EDIT_CLICKED}},p=function(e){return{type:r.g9.LINE_QUANTITY_MODAL_CONFIRM_CLICKED,data:{quantity:e}}},g=function(){return{type:r.g9.LINE_QUANTITY_MODAL_CLOSED_CLICKED}}},7424:function(e,t,n){"use strict";n.d(t,{EH:function(){return f},MZ:function(){return s},c3:function(){return d},qI:function(){return p}});var r=n(2808),o=n(8348),i=n(9336),a=n(7556),c=n(8808);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){for(var t=1;t1||!!n.length&&!(0,c.uI)(t):t&&r[t]||r.default})),p=(0,r.M3)(o.YX,i.uK,i.kX,(function(e,t,n){var r=e.startAgainModal,o=n.length>=1&&"multiline_question";return r&&u({},r.default,r[o],r[t])}))},8768:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(1504),o=(0,r.lazy)((function(){return Promise.all([n.e(275),n.e(120),n.e(596),n.e(264)]).then(n.bind(n,7608))})),i="_15gifts-overlay-root";t.M=function(){return r.createElement("div",{id:i},r.createElement(r.Suspense,{fallback:r.createElement("div",null)},r.createElement(o,null)))}},7248:function(e,t){"use strict";t.c={apiQuestionData:"apiQuestionData",closeBubbleSeen:"close_bubble_seen",engagedOrClicked:"engagedOrClicked",hot:"hot",inPageInterfaceType:"inPageInterfaceType",initialRec:"initial_rec",initialRecTime:"initial_rec_time",introScreenSeen:"intro_seen",ip:"ip",isExit:"is_exit",knownHostsPartnerPropertyId:"known_hosts_partner_property_id",lastRecSearchId:"lastRecSearchId",partnerStatus:"partnerStatus",prp:"prp",questionProgress:"questionProgress",restoreFromUrl:"restore_from_url",savedBookmarks:"savedBookmarks",searchId:"searchId",sid:"sid",superEngagedOrClicked:"superEngagedOrClicked",uid:"uid",planData:"planData",welcomeBubbleSeen:"welcome_bubble_seen",feedbackSubmitted:"feedbackSubmitted"}},4920:function(e,t,n){"use strict";n.d(t,{OW:function(){return N},k1:function(){return R},qq:function(){return D},uY:function(){return P}});var r=n(6012),o=n(7320),i=n.n(o),a=n(6480),c=n(8648),l=n(6472),u=n(2952),s=n(6956),d=n(7248),f=n(2576);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:null,t=m({},h);return null===e?t:"string"==typeof e&&t[e]?t[e]:void 0}function E(e,t){if("string"==typeof e)return h=b(m({},h),g({},e,t)),A({key:e,value:t,expiry:I(e)}),!0}function S(e){if(e&&"string"==typeof e&&h[e])return delete h[e],A({key:e,expiry:I(e)}),!0}function C(){var e,t,n,o,a,l,u;n=(e=["","uid"]).concat(t=["sid","ip"]),o=function(e,t){var n,o=_(t),i=y.get(o);try{n=JSON.parse(i)}catch(e){n=t?g({},t,i):{}}finally{(0,r.c)(n)||(n=t?g({},t,i):{})}return m({},e,n)},a=m({},e.reduce(o,{})),l=m({},t.reduce(o,{})),u=m({},a,l),Object.values(u).some((function(e){return!!e}))&&([{data:a,expiry:c.sl.THIRTY_DAYS},{data:l,expiry:c.sl.SESSION}].forEach((function(e){var t=e.data,n=e.expiry;Object.keys(t).forEach((function(e){A({key:e,value:t[e],expiry:n})}))})),n.forEach((function(e){var t=_(e);y.remove(t,{domain:i().get(window,"location.hostname")||null}),y.remove(t,{domain:w()})})));var d,f=(s.ao?(d=new Set(s.ao.map((function(e){return e.expiry||c.sl.SESSION}))),function(e){if(Array.isArray(e))return p(e)}(d)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(d)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(d)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):[c.sl.SESSION]).reduce((function(e,t){var n=_(t);return m({},e,T(y.get(n,{domain:w()})))}),{});return f&&(0,r.c)(f)?f:{}}function T(e){var t;try{t=JSON.parse(e)}catch(n){t=void 0!==e&&(0,f._)(e)?{}:e}return t}function w(){var e=document.location.hostname,t=new RegExp(/15gifts\.com/),n=e.match(t)&&e.match(t).length?e.split(".").slice(1).join("."):null,r=new RegExp(/[^.]*\.[^.]{2,3}(?:\.[^.]{2})?$/),o=e.match(r)&&e.match(r).length?e.match(r)[0]:null;return".".concat(n||o)}function _(e){var t="__evo_".concat(v);return e?"".concat(t,"_").concat(e):t}function I(e){var t=s.ao.filter((function(t){return t.key===e}));return t[0]&&t[0].expiry||c.sl.SESSION}function x(e){var t=e.key&&"string"==typeof e.key,n=e.shouldSet&&"function"==typeof e.shouldSet,r=e.value&&"function"==typeof e.value;return null!==e&&t&&n&&r}function A(e){var t=e.expiry,n=e.key,r=e.value,o=void 0===r?null:r,i=_(t),a=T(y.get(i,{domain:w()})||{});void 0===o?delete a[n]:a=b(m({},a),g({},n,o));var c=new Date,l=Number.isNaN(t)?null:new Date(c.getTime()+1e3*t);y.set(i,JSON.stringify(a),{expires:l,sameSite:"Lax",domain:w(),path:"/"})}var P=function(){return function(e){return function(t){return function(n){var r=e.getState(),o=t(n),i=e.getState(),a=O();return function(e){(0,u.mY)(e)&&(0,s.Qv)(e).forEach((function(e){s.ao.find((function(t){return t.key===e.key}))||(s.ao.push(e),h=C())}))}(i),s.ao.filter(x).forEach((function(e){return function(e){var t=e.action,n=e.currentlyPersisted,r=e.entry,o=e.newStore,i=e.oldStore,a=r.shouldSet({entry:r,action:t,oldStore:i,newStore:o,currentlyPersisted:n}),c=r.shouldUnset&&r.shouldUnset({entry:r,action:t,oldStore:i,newStore:o,currentlyPersisted:n});if(a){var l=r.value({entry:r,action:t,oldStore:i,newStore:o,currentlyPersisted:n});r.key&&E(r.key,l)}else c&&r.key&&S(r.key)}({entry:e,action:n,oldStore:r,newStore:i,currentlyPersisted:a})})),n.type===l.c.ENGINE_RESTART&&D(d.c.isExit,!1),o}}}},N=O,D=E,R=S},6956:function(e,t,n){"use strict";n.d(t,{Qv:function(){return f},ao:function(){return p},g9:function(){return d}});var r=n(7320),o=n.n(r),i=n(8648),a=n(4632),c=n(7248),l=n(9432),u=n(2952),s={searchId:"engine.searchId",lastRecSearchId:"engine.lastRecSearchId",questionProgress:"engine.progress",ip:"user.ip",sid:"user.sid",uid:"user.uid",partnerStatus:"engine.partnerStatus",planData:"user.planData"},d={ip:"ip",sid:"sid",uid:"uid",apiQuestionData:"apiQuestionData"},f=function(e){var t=e.engine;return[{key:(0,u.RV)({engine:t}),expiry:i.sl.THIRTY_DAYS,value:function(){return!0}},{key:(0,u.gz)({engine:t}),expiry:i.sl.THIRTY_DAYS,value:function(){return!0}}]},p=[{key:c.c.searchId,expiry:i.sl.THIRTY_DAYS,value:function(e){var t=e.newStore,n=e.oldStore;return o().get(t,s.searchId)||o().get(n,s.searchId)||""}},{key:c.c.lastRecSearchId,expiry:i.sl.THIRTY_DAYS,value:function(e){var t=e.newStore,n=e.oldStore;return o().get(t,s.lastRecSearchId)||o().get(n,s.lastRecSearchId)||""}},{key:c.c.inPageInterfaceType,expiry:i.sl.THIRTY_DAYS,shouldSet:function(e){return e.action.type===l.cp.UPDATE_INPAGE_INTERFACE_TYPE},value:function(e){return e.newStore.inPage.preferredInterfaceType}},{key:c.c.initialRec,expiry:i.sl.THIRTY_DAYS,shouldSet:function(e){var t=e.currentlyPersisted,n=e.newStore;return!e.oldStore.result&&n.result&&n.result.productData&&n.result.productData.recommendation&&!t.initialRec},value:function(e){return e.newStore.engine.searchId}},{key:c.c.hot,expiry:i.sl.THIRTY_DAYS,value:function(){return!0}},{key:c.c.engagedOrClicked,expiry:i.sl.THIRTY_DAYS,value:function(){return!0}},{key:c.c.superEngagedOrClicked,expiry:i.sl.THIRTY_DAYS,value:function(){return!0}},{key:c.c.partnerStatus,expiry:i.sl.THIRTY_DAYS,shouldSet:function(e){var t=e.currentlyPersisted,n=e.newStore,r=o().get(n,s.partnerStatus);return r&&0!==Object.keys(r).length&&JSON.stringify(t[c.c.partnerStatus])!==JSON.stringify(r)},value:function(e){var t=e.newStore,n=e.oldStore;return o().get(t,s.partnerStatus)||o().get(n,s.partnerStatus)}},{key:c.c.initialRecTime,expiry:i.sl.THIRTY_DAYS,shouldSet:function(e){var t=e.currentlyPersisted,n=e.newStore;return n.result&&n.result.productData&&n.result.productData.recommendation&&!t[c.c.initialRecTime]},value:function(){return(0,a.wr)()}},{key:c.c.introScreenSeen,expiry:i.sl.THIRTY_DAYS,shouldSet:function(e){var t=e.action,n=e.oldStore;return t.type===i.g9.LOADING.READY_TO_ADVANCE_LOADING&&o().get(n,"loading.loadType")===i.oJ.INTRO_TIMED},value:function(){return!0}},{key:c.c.closeBubbleSeen,expiry:i.sl.THIRTY_DAYS,value:function(){return!0}},{key:c.c.welcomeBubbleSeen,expiry:i.sl.THIRTY_DAYS,value:function(){return!0}},{key:c.c.restoreFromUrl,expiry:i.sl.THIRTY_DAYS,value:function(){return 1}},{key:c.c.questionProgress,expiry:i.sl.THIRTY_DAYS,shouldSet:function(e){var t=e.newStore,n=e.oldStore,r=o().get(n,s.questionProgress),i=o().get(t,s.questionProgress);return i&&i.step||r&&r.step},value:function(e){var t=e.newStore,n=e.oldStore;return o().get(t,s.questionProgress)||o().get(n,s.questionProgress)||{}}},{key:c.c.knownHostsPartnerPropertyId,expiry:i.sl.THIRTY_DAYS,shouldSet:function(e){var t=e.newStore,n=e.oldStore;return!o().get(n,s.knownHostsPartnerPropertyId)&&o().get(t,s.knownHostsPartnerPropertyId)},value:function(e){var t=e.newStore;return o().get(t,s.knownHostsPartnerPropertyId)||""}},{key:c.c.ip,shouldSet:function(e){var t=e.newStore,n=e.oldStore;return!o().get(n,s.ip)&&o().get(t,s.ip)},value:function(e){var t=e.newStore;return o().get(t,s.ip)||""}},{key:c.c.sid,shouldSet:function(e){var t=e.newStore,n=e.oldStore;return!o().get(n,s.sid)&&o().get(t,s.sid)},value:function(e){var t=e.newStore;return o().get(t,s.sid)||""}},{key:c.c.uid,expiry:i.sl.THIRTY_DAYS,shouldSet:function(e){var t=e.newStore,n=e.oldStore;return!o().get(n,s.uid)&&o().get(t,s.uid)},value:function(e){var t=e.newStore;return o().get(t,s.uid)||""}},{key:c.c.planData,value:function(e){return e}},{key:c.c.apiQuestionData,expiry:i.sl.THIRTY_DAYS}]},4500:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var r=n(7320),o=n(8648),i=n(4784);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[];return e.filter((function(e){var n=e.propertyId;return t.includes(parseInt(n,10))}))})),m=(0,r.M3)(i.kX,(function(e){return e.map((function(e){return e.addons}))})),b=(0,r.M3)(m,(function(e){return e.flat().filter((function(e){return e.customFields.isShared}))})),y=(0,r.M3)(b,d,(function(e,t){return e.find((function(e){return e.id===t}))})),v=(0,r.M3)(o.YX,o.CO,o.eE,(function(e,t,n){return{modal:{button:{text:e.resultOfferSeeDetailsLink}},name:e.addons,price:{currency:t.currencySymbol,label:{monthly:e.resultCostMonthlyLabel.default(),upfront:e.resultCostUpfrontLabel.default()}},shouldUseThemeUI:n.engine.shouldUseThemeUI,showConfirmIcon:t.showConfirmIconAccessories,showConfirmButton:t.showConfirmButtonAccessories,isWrappedInAButton:t.isAddOnItemWrappedInAButton}})),h=((0,r.M3)(p,(function(e){return e.map((function(e){return e&&e.basketParams}))})),(0,r.M3)(p,(function(e){return e.reduce((function(e,t){return e+t.prices.costMonthly}),0)})),(0,r.M3)(m,(function(e){return e.flat().reduce((function(e,t){return e+t.costMonthly}),0)})),(0,r.M3)(p,v,(function(e,t){return e.length&&[{currencySymbol:t.price.currency,groupItems:e.map((function(e){var n=e.name,r=e.prices;return{name:n,prices:t.shouldUseThemeUI?[{items:[{containerVariant:"upfront",value:(0,c.c)(r.costUpfront),labels:{after:[{text:t.price.label.upfront}]},currencySymbol:t.price.currency},{containerVariant:"monthly",value:(0,c.c)(r.costMonthly),labels:{after:[{text:t.price.label.monthly}]},currencySymbol:t.price.currency}],label:n}]:[{containerVariant:"upfront",cost:(0,c.c)(r.costUpfront),costLabels:{after:t.price.label.upfront},currencySymbol:t.price.currency},{containerVariant:"monthly",cost:(0,c.c)(r.costMonthly),costLabels:{after:t.price.label.monthly},currencySymbol:t.price.currency}]}})),heading:t.name,themeVariant:"insuranceWithPrevLines",variant:"addOn"}]}))),O=(0,r.M3)(m,(function(e,t){return t}),v,(function(e,t,n){var r;if(!e.length||!(null===(r=e[t])||void 0===r?void 0:r.length))return[];var o=function(e,t){return{value:(0,c.c)(e),labels:{after:[{text:n.price.label[t]}]},currencySymbol:n.price.currency}};return[{currencySymbol:n.price.currency,groupItems:e[t].map((function(e){var t=e.costMonthly,r=e.costUpfront,i=e.name;return{name:i,prices:n.shouldUseThemeUI?[{items:[u({containerVariant:"upfront"},o(r,"upfront")),u({containerVariant:"monthly"},o(t,"monthly"))],label:i}]:[{containerVariant:"upfront",cost:(0,c.c)(r),costLabels:{after:n.price.label.upfront},currencySymbol:n.price.currency},{containerVariant:"monthly",cost:(0,c.c)(t),costLabels:{after:n.price.label.monthly},currencySymbol:n.price.currency}]}})),heading:n.name,themeVariant:"insuranceWithPrevLines",variant:"addOn"}]}))},772:function(e,t){"use strict";t.c=function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=r.prices,a=i||r,c={upfront:(null===(e=a)||void 0===e?void 0:e.costUpfront)||0,monthly:(null===(t=a)||void 0===t?void 0:t.monthlyCost)||(null===(n=a)||void 0===n?void 0:n.costMonthly)||0};return o&&(c.upfront=o(c.upfront),c.monthly=o(c.monthly)),c}},7560:function(e,t,n){"use strict";n.d(t,{Ab:function(){return L},Ad:function(){return ne},C6:function(){return k},C8:function(){return D},CS:function(){return R},Cm:function(){return G},GW:function(){return F},ID:function(){return Q},Id:function(){return te},K4:function(){return P},Kc:function(){return H},M$:function(){return B},Mp:function(){return x},Mx:function(){return Y},OG:function(){return g},OS:function(){return J},OW:function(){return V},QB:function(){return f},Qr:function(){return X},S_:function(){return ee},Sm:function(){return re},So:function(){return $},Yj:function(){return w},aW:function(){return y},am:function(){return p},an:function(){return E},cx:function(){return q},dF:function(){return v},e9:function(){return T},eT:function(){return z},eW:function(){return O},e_:function(){return b},g0:function(){return m},g7:function(){return d},im:function(){return A},k$:function(){return I},kj:function(){return C},mv:function(){return j},ot:function(){return K},qz:function(){return _},s$:function(){return h},sT:function(){return S},ug:function(){return U},um:function(){return W},uw:function(){return Z},yu:function(){return N}});var r=n(8648),o=n(8652),i=n(5644),a=n(7556),c=n(8808),l=n(9336);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:1;return function(o,i){var a=i().result.productData.recommendation;return o({type:r.g9.RESULT_TAB_CLICKED,payload:{clickedTabIndex:n,recommendation:a},data:{position:n,buttonText:e,source:t}})}}var g=(0,i.c)(r.g9.TOGGLE_TARIFF_ACCORDION),m=(0,i.c)(r.g9.TOGGLE_SPECIFICATION_ACCORDION),b=(0,i.c)(r.g9.TOGGLE_COLOUR_CAPACITY_ACCORDION),y=(0,i.c)(r.g9.TOGGLE_AUTOPAY);function v(e){var t=e.buttonText,n=e.insuranceIndex,o=e.isBenefitsOpen,i=e.tariffIndex;return{type:void 0!==n?r.g9.INSURANCE_BENEFIT_ACCORDION:r.g9.TARIFF_BENEFIT_ACCORDION,payload:{benefitAccordionIndex:void 0!==n?n:i,isBenefitAccordionOpen:o},data:{action:o?"hide":"show",buttonText:t}}}function h(e){var t=e.buttonText,n=e.isOpen;return{type:r.g9.TRACKING.COLOUR_CAPACITY_ACCORDION,data:{action:n?"show":"hide",buttonText:t}}}function O(e,t,n,o){return function(i,a){var c=a().result;return i({type:r.g9.TARIFF_CARD_CLICK,payload:{activeTabIndex:t,clickedTariffCardIndex:e,recommendationScreenType:n,useSwitchBundleAPI:o},data:{activeTabIndex:t,position:e}}),{result:c}}}function E(e){return{type:r.g9.TRACKING.TECH_SPEC,data:e}}function S(e){return{type:r.g9.TRACKING.CLICKED_RES_SHOW_MORE_TARIFFS,data:{buttonText:e}}}function C(e,t){return{type:r.g9.TRACKING.PROTECTION_OPTIONS_ACCORDION,data:{action:t?"hide":"show",buttonText:e}}}function T(e){return{type:r.g9.TRACKING.MORE_PROTECTION_INFO,data:{buttonText:e}}}function w(e,t,n){return{type:r.g9.TRACKING.PROPERTY_SELECT,data:{buttonText:t,action:e?"open":"close",source:n}}}function _(e){return{type:r.g9.TRACKING.PLAN_ANCHOR,data:{buttonText:e}}}function I(e){var t=e.context,n=e.ctaText,o=e.productId,i=e.tabIndex,a=e.tradeinOffer;return{type:r.g9.TRACKING.CLICK,data:{product_id:o,buttonText:n,position:i,context:t,offer_id:a}}}var x=(0,i.c)(r.g9.TRACKING.CLICK_ADD_TO_CART),A=(0,i.c)(r.g9.TRACKING.ADD_TO_CART_SUCCESS),P=(0,i.c)(r.g9.ADD_ANOTHER_LINE),N=(0,i.c)(r.g9.REVISE_SUBSCRIPTION_MODIFIERS),D=(0,i.c)(r.g9.RESET_SUBSCRIPTION_MODIFIERS),R=(0,i.c)(r.g9.UPDATE_SUBSCRIPTION_MODIFIERS),k=(0,i.c)(r.g9.SAVE_SUBSCRIPTION_MODIFIERS),j=(0,i.c)(r.g9.TRACKING.SCROLL_UP_CLICK);function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return function(o,i){var a=(0,c.k5)(i,e,t,n);return o({type:r.g9.TRACKING.CLICK_ENGINE_RESULT_BACK,data:{currentScreen:a.currentScreen,nextScreen:a.nextScreenData.data.screen}}),o(M(a.nextScreenData))}}function M(e){return function(t){return t(s({type:r.g9.CHANGE_TO_SCREEN},e))}}function B(e,t){return function(n,o){var i=(0,c.k5)(o,e,t,1);return n("flex"===i.nextScreenData.data.screen?{type:r.g9.TRACKING.CLICK_ENGINE_RESULT_NEXT_FLEX,data:{currentScreen:i.currentScreen,nextScreen:i.nextScreenData.data.screen}}:{type:r.g9.TRACKING.CLICK_ENGINE_RESULT_NEXT,data:{currentScreen:i.currentScreen,nextScreen:i.nextScreenData.data.screen}}),n(M(i.nextScreenData))}}var U=function(e,t,n){return function(o,i){return o({type:r.g9.INSURANCE_CARD_CLICK,payload:{clickedInsuranceCardIndex:e,isMultipleProtection:n},data:{type:t}}),i()}},H=(0,i.c)(r.g9.UPDATE_ACTIVE_WARRANTY),G=(0,i.c)(r.g9.INSURANCE_CARD_DESELECT),F=(0,i.c)(r.g9.INSURANCE_LAST_CLICKED),W=(0,i.c)(r.g9.INSURANCE_STATE_SWITCH);function K(e,t){return{type:r.g9.CANCEL_INSURANCE_SELECTION,data:{type:e,buttonText:t}}}function z(e,t,n,o){return{type:r.g9.CONFIRM_INSURANCE_SELECTION,data:{type:e,buttonText:t},payload:{clickedInsuranceCardIndex:n,isMultipleProtection:o}}}function V(e){return{type:r.g9.TRACKING.FINISH_AND_FIND_PLAN,data:{buttonText:e}}}function Y(){return{type:r.g9.TRACKING.LOGIN_BUTTON_CLICKED}}function q(e){var t=e.isActive,n=e.propertyId;return{type:r.g9.ACCESSORY_TOGGLE,payload:s({},e),data:{action:t?"deselected":"selected",context:"accessories",propertyId:n}}}var X=function(){return{type:r.g9.RESULT_LOADED}},Q=(0,i.c)(r.g9.TRACKING.MOBILE_FIXED_BASKET_CLICKED);function $(e){var t=e.additionalInformationId;return function(e){return e({type:r.g9.ADDITIONAL_INFORMATION_CLICK,payload:{additionalInformationId:t}})}}var J=(0,i.c)(r.g9.REQUEST_BANK_HOLIDAYS);function Z(e){return{type:r.g9.SET_IS_BANK_HOLIDAY,payload:{isBankHoliday:e}}}function ee(e){var t=e.buttonText,n=e.isOpen;return{type:r.g9.TRACKING.LINE_ACCORDION,data:{action:n?"show":"hide",buttonText:t}}}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800;return function(n,r){var i=r(),c=i.engine,l=i.result,u={intents:(c.intents.next||[]).join(),prp:(0,a.uW)({result:l}),erp:(0,a.aC)({result:l})};return n((0,o.QX)(e,t,u))}}function ne(e,t){return function(n,o){var i=o().result,a=(0,l.G8)(o()),u=(0,l.EF)(t)(o()),s=(0,c.Uh)(i),d=btoa(JSON.stringify(s));n({type:r.g9.TRACKING.NEXT_STEP_CTA_CLICKED,data:{button_text:e,location:a,location_next:u,product_data_json:d}})}}function re(e){return function(t,n){var o=n().result,i=(0,l.G8)(n()),a=(0,c.Uh)(o),u=btoa(JSON.stringify(a));t({type:r.g9.TRACKING.ADD_TO_BASKET_CTA_CLICKED,data:{button_text:e,location:i,product_data_json:u}})}}},7556:function(e,t,n){"use strict";n.d(t,{WU:function(){return Je},IZ:function(){return z},AB:function(){return me},ew:function(){return Ge},uW:function(){return Y},Q9:function(){return q},I$:function(){return V},yu:function(){return it},KM:function(){return ct},m4:function(){return rt},iu:function(){return fe},_S:function(){return ve},k7:function(){return ye},SY:function(){return Qe},Sg:function(){return $e},Av:function(){return Xe},m:function(){return ie},MJ:function(){return oe},U7:function(){return Oe},io:function(){return ae},aC:function(){return Ze},_8:function(){return bt},AR:function(){return pt},Og:function(){return ft},Yz:function(){return yt},kv:function(){return vt},EL:function(){return ee},qi:function(){return Pe},ek:function(){return Ne},uk:function(){return j},Uf:function(){return Be},GQ:function(){return De},Wy:function(){return Ie},kH:function(){return se},UZ:function(){return we},Ke:function(){return Ae},C2:function(){return xe},qz:function(){return Te},ol:function(){return be},oj:function(){return $},qq:function(){return J},gB:function(){return _e},S6:function(){return Se},QX:function(){return Me},Ed:function(){return Ce},u0:function(){return st},uY:function(){return Le},Ez:function(){return ut},a4:function(){return te},Oy:function(){return at},C_:function(){return je},yC:function(){return X},qs:function(){return Q},wT:function(){return ne},sT:function(){return qe},dZ:function(){return Ye},m0:function(){return ue},cX:function(){return Re},Y1:function(){return ot},bl:function(){return K},ox:function(){return ke},m2:function(){return k},il:function(){return gt},O4:function(){return mt},M$:function(){return tt},J:function(){return nt},oB:function(){return dt},ae:function(){return de},YP:function(){return Z},us:function(){return W},mo:function(){return Fe}});var r=n(8084),o=n.n(r),i=n(9364),a=n(7320),c=n(2808),l=n(8648),u=n(8348),s=(0,c.M3)((function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).browser;return(void 0===e?{}:e)||{}}),(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.greaterThan,n=void 0===t?{}:t,r=e.is,o=void 0===r?{}:r;return!!n.medium||!!o.medium||!1})),d=n(9336),f=n(4632),p=n(9948);function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},c=i.countdownFontOfferColour,u=i.countdownIsShown,d=i.countdownOfferColour,v=i.countdownText,h=i.customFields,O=void 0===h?{}:h,E=i.disclaimer,S=void 0===E?"":E,C=i.displayType,T=i.expiryDate,w=i.imgUrl,_=i.offerBgColour,I=i.offerDetailsUrl,x=i.offerFontColour,A=i.offerId,P=i.optIn,N=i.reducedMonthlyPriceDiscountValue,D=i.reducedUpfrontPriceDiscountValue,R=i.startDate,k=i.switchBundle,j=i.textId,L=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(i,["countdownFontOfferColour","countdownIsShown","countdownOfferColour","countdownText","customFields","disclaimer","displayType","expiryDate","imgUrl","offerBgColour","offerDetailsUrl","offerFontColour","offerId","optIn","reducedMonthlyPriceDiscountValue","reducedUpfrontPriceDiscountValue","startDate","switchBundle","textId"]);return m({countdown:{backgroundColour:d,expiryDate:T&&T.replace(/\s/,"T"),fontColour:c,isSuffixShown:n,startDate:!!R&&"string"==typeof R&&(0,f.uQ)(R),text:v},custom:{backgroundColor:_||null,color:x||null},customFields:O,description:b({isShowDescription:r,description:S}),displayType:C,handleClick:t,imgUrl:w,isShowCountdown:!!u,message:S,moreInfoText:y({description:S,fullOfferDetails:null===(e=O)||void 0===e?void 0:e.fullOfferDetails,isShowDescription:r,moreInfoIcon:s,moreInfoText:g,offerDetailsUrl:I}),offerId:A,offerIsButton:o&&!!(0,p.c)([l])(L),optIn:P,reducedMonthlyPriceDiscountValue:N,reducedUpfrontPriceDiscountValue:D,switchBundle:k,text:(0,p.c)([a])(L,"copy")},m({},"paperfree_billing_and_autopay_discount"===j?{testId:"_15gifts-auto-pay",ariaLabel:"More information about Auto pay"}:{}))}}var h=n(9288),O=n(7176),E=n(9520),S=n(5048),C=n(6924),T=n(2576),w=n(7620),_=n(8808),I=n(7832);function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{}).result;return(void 0===e?{}:e)||{}},j=(0,c.M3)(k,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.get)(e,"isBankHoliday",!1)})),L=(0,c.M3)(k,(function(e){var t=e.product;return void 0===t?{}:t})),M=(0,c.M3)(L,(function(e){var t=e.categories;return void 0===t?[]:t})),B=(0,c.M3)(M,(function(e){return e.find((function(e){return e.active}))})),U=(0,c.M3)(B,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).options;return void 0===e?{}:e})),H=(0,c.M3)(U,(function(e){var t=e.items;return(void 0===t?[]:t).find((function(e){return e.active}))})),G=(0,c.M3)(H,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).extras;return void 0===e?[]:e})),F=(0,c.M3)(G,(function(e){return e.find((function(e){return"offers"===e.type}))})),W=(0,c.M3)(F,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).items;return(void 0===e?[]:e).map((function(e,t){return{is_default_selected:e.active,position:t+1,property_id:e.id}}))})),K=(0,c.M3)(k,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.get)(e,"productData.recommendation",[])})),z=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).result,t=void 0===e?{}:e;return(0,a.get)(t,"activeTabIndex",0)},V=(0,c.M3)(K,z,(function(e,t){return(0,a.get)(e,[t],{})})),Y=(0,c.M3)(k,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.get)(e,"activeProductId")})),q=((0,c.M3)(k,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.get)(e,"copy")})),function(e){var t=e.rec;return{deviceName:t.altName||t.handsetName,tariff:(0,S.c)(t.tariffs),insurancePlans:(0,O.c)(t.insurancePlans),extendedWarranty:(0,S.c)(t.extendedWarranty),devicePaymentPlan:(0,S.c)(t.devicePaymentPlans),prices:t.prices,simCard:t.simCard,productId:(0,S.c)(t.tariffs).productId||t.productId,colour:(0,S.c)(t.colour),capacity:(0,S.c)(t.capacity),offers:t.offers}}),X=(0,c.M3)(V,(function(e){return e.handsetName||""})),Q=(0,c.M3)(V,Y,(function(e){return{src:e.handsetImage||"",alt:e.handsetName||""}})),$=(0,c.M3)(k,(function(e){var t=e.loading;return!!t&&("accessories"===t.optionType||"colour"===t.optionType)})),J=(0,c.M3)(k,(function(e){var t=e.loading;return!!t&&("accessories"===t.optionType||"capacity"===t.optionType||"colour"===t.optionType||"devicePaymentPlans"===t.optionType)})),Z=(0,c.M3)(V,(function(e){var t=e.vectors;return(void 0===t?[]:t).filter((function(e){return!e.hero})).map((function(e){var t=e.copy;return N(P({},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["copy"])),{text:t})}))})),ee=(0,c.M3)(V,(function(e){var t=e.vectors,n=void 0===t?[]:t;return(0,C.c)("copy")("")(n.find((function(e){return!!e.hero})))})),te=(0,c.M3)(V,(function(e){return e.match||""})),ne=(0,c.M3)(V,(function(e){return"tablet"===e.deviceType?"tablet":"default"})),re=(0,c.M3)(V,Y,(function(e){var t=e.accessories;return t?t.reduce((function(e,t){var n=t.active,r=t.inStock,o=t.transformId,i=t.value;return D(e).concat(D(!1!==r?[N(P({},t),{label:i,value:o,active:!!n})]:[]))}),[]):[]})),oe=(0,c.M3)(V,Y,(function(e){var t=e.colour;return t?t.reduce((function(e,t){var n=t.active,r=t.css,o=t.hex,i=t.inStock,a=t.transformId,c=t.value;return D(e).concat(D(!1!==i?[N(P({},t),{label:c,value:a,swatch:o||r,active:!!n})]:[]))}),[]):[]})),ie=(0,c.M3)(V,Y,(function(e){var t=e.capacity;return t?t.reduce((function(e,t){var n=t.active,r=t.inStock,o=t.transformId,i=t.value;return D(e).concat(D(!1!==r?[N(P({},t),{label:i,value:o,active:!!n})]:[]))}),[]):[]})),ae=(0,c.M3)(V,Y,(function(e){var t=e.devicePaymentPlans;return t?t.reduce((function(e,t){var n=t.active,r=t.transformId,o=t.value;return D(e).concat([N(P({},t),{label:o,value:r,active:!!n})])}),[]):[]})),ce=(0,c.M3)(V,u.A5,Y,(function(e,t){var n=e.backOrder,r=e.deliveryMessage,o=e.deliveryTooltip;return t&&n&&r&&{title:r,message:o}||!1})),le=(0,c.M3)(k,(function(e){return"capacity"===e.previousOptionType?"capacity":"colour"})),ue=(0,c.M3)(re,oe,ie,ae,ce,le,u.CY,u.CO,(function(e,t,n,r,o,i,a,c){var l=a.accessoriesLabel,u=a.capacityLabel,s=a.colourLabel,d=a.paymentPlanLabel,f=c.hideDevicePaymentPlansDropdown,p=void 0!==f&&f,g=c.showAccessoriesProductVariant;return D(t.length>0?[{label:s,type:"colour",options:t,notice:"colour"===i&&o}]:[]).concat(D(n.length>0?[{label:u,type:"capacity",options:n,notice:"capacity"===i&&o}]:[]),D(r.length>0&&!p?[{label:d,type:"devicePaymentPlans",options:r,notice:!1}]:[]),D(e.length>0&&g?[{label:l,type:"accessories",options:e,notice:!1}]:[]))})),se=(0,c.M3)(s,(function(e){return e||!1})),de=(0,c.M3)(V,(function(e){var t=e.tariffs;return void 0===t?[]:t})),fe=(0,c.M3)(V,(function(e){return(0,S.c)((0,a.get)(e,["tariffs"]))||{}})),pe=(0,c.M3)(V,(function(e){var t=e.tariffs,n=void 0===t?[]:t;return(0,E.c)(n)||0})),ge=(0,c.M3)(fe,(function(e){var t=e.modifiers;return(void 0===t?[]:t)||[]})),me=(0,c.M3)(V,(function(e){var t=e.insurancePlans,n=void 0===t?[]:t;return(0,O.c)(n)||{}})),be=(0,c.M3)(me,(function(){var e;return!!(null===(e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[])||void 0===e?void 0:e.length)})),ye=(0,c.M3)(V,(function(e){var t=e.extendedWarranty,n=void 0===t?[]:t;return(0,S.c)(n)||{}})),ve=(0,c.M3)(V,(function(e){var t=e.url;return void 0===t?"":t})),he=(0,c.M3)(V,(function(e){var t=e.creditClass;return void 0===t?{}:t})),Oe=(0,c.M3)(V,(function(e){return(0,S.c)((0,a.get)(e,["devicePaymentPlans"]))||{}})),Ee=(0,c.M3)(k,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!(0,T._)(e||{})})),Se=(0,c.M3)(k,(function(e){return!!e.isProtectionScreen})),Ce=(0,c.M3)(ge,(function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).length})),Te=(0,c.M3)(k,(function(e){return!!e.isFlexScreen})),we=(0,c.M3)(k,(function(e){return!!e.isExistingCustomer})),_e=(0,c.M3)(k,(function(e){return!!e.insuranceOptionChosen})),Ie=(0,c.M3)(me,(function(e){return!(!e.length||!e.filter((function(e){return"1"===e.isDeclineInsurance})).length)})),xe=(0,c.M3)(k,u.CO,V,_e,fe,(function(e,t,n,r,o){var i=e.currentScreenIndex,a=e.isFlexScreen,c=t.nextScreenSteps;return i>=(0,_.Yt)({nextScreenSteps:D(a&&!c.includes(l.cn.FLEX)?[l.cn.FLEX]:[]).concat(D(c)),activeRec:n,activeTariff:o}).length-1})),Ae=(0,c.M3)(k,Ee,(function(e,t){var n=e.isExit,r=e.productData;return t&&(!!n||!r)})),Pe=(0,c.M3)(k,(function(e){return!!e.isAccessoriesScreen})),Ne=(0,c.M3)(k,(function(e){return e.isAddonsScreen})),De=(0,c.M3)(he,(function(e){var t=e.name;return(void 0===t?"":t)===l.gz.BUILDING})),Re=(0,c.M3)(Pe,Ne,Ae,Se,Ee,(function(e,t,n,r,o){return e&&l.cn.ACCESSORIES||t&&l.cn.ADDONS||n&&l.cn.EXIT||r&&l.cn.PROTECTION||o&&l.cn.INITIAL||""})),ke=(0,c.M3)(K,s,u.CO,(function(e,t,n){var r=n.showMobileTabTextOnDesktop;return e.map((function(e){var n=e.tabs;return P({},t&&!r?(0,a.get)(n,"desktop",""):(0,a.get)(n,"mobile",""))}))})),je=(0,c.M3)(K,(function(e){return e.map((function(e,t){var n=e.altName,r=e.handsetName;return{label:"Line ".concat(t+1),subLabel:n||r}}))})),Le=(0,c.M3)(V,(function(e){var t=e.isAlternativeTariffsOpen;return void 0!==t&&t})),Me=(0,c.M3)(V,(function(e){var t=e.isSpecificationOpen;return void 0!==t&&t})),Be=(0,c.M3)(V,(function(e){var t=e.isColorCapacityOpen;return void 0===t||t})),Ue=(0,c.M3)(Oe,(function(e){return e.offers||[]})),He=(0,c.M3)(Ue,(function(e){return e.filter((function(e){return e.optIn}))})),Ge=(0,c.M3)(He,(function(e){return e.filter((function(e){return e.active}))})),Fe=(0,c.M3)(He,(function(e){return e.map((function(e,t){return{is_default_selected:!!e.active,position:t+1,property_id:e.offerId}}))})),We=(0,c.M3)(V,Y,(function(e){var t=e.devicePaymentPlans;return(void 0===t?[]:t).find((function(e){return"Full price"===e.value}))||{}})),Ke=(0,c.M3)(We,Y,(function(e){var t=e.costUpfront;return(void 0===t?"":t)||""})),ze=(0,c.M3)(V,Y,(function(e){var t=e.devicePaymentPlanFullTermCost;return(void 0===t?"":t)||""})),Ve=(0,c.M3)(V,Y,(function(e){var t=e.totalDeviceCost;return(void 0===t?"":t)||""})),Ye=(0,c.M3)(V,Ke,ze,u.C8,u.CO,u.YX,Ve,(function(e,t,n,r,o,i,a){var c=r.shouldUseThemeUI,l=void 0!==c&&c,u=o.currencySymbol,s=o.isStripZeroDecimals,d=o.showFullPrice,f=o.showRetailPrice,p=i.exVATPricingLabel,g=i.fullPriceCopy,m=(0,w.c)(t||n||a.toString(),s),b=e&&e.isExVatPrice?" ".concat(p):"",y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.after,n=void 0===t?"":t,r=e.before,o=void 0===r?"":r,i=e.currencySymbol,a=void 0===i?"£":i,c=e.subLabel,l=void 0===c?"":c,u=e.taxLabel,s=void 0===u?"":u,d=e.value;return{labels:{after:n,before:o,subLabel:l,taxLabel:s},currencySymbol:a,value:void 0===d?"":d}}(d?{currencySymbol:u,before:g,taxLabel:b,value:m}:{}),v=f?"".concat(g," ").concat(u).concat(m).concat(b):"";return l?v:y})),qe=(0,c.M3)(V,Ue,u.CO,u.YX,(function(e){var t=e.props,n=void 0===t?{}:t;return(0,a.get)(n,"handleClickOffer")}),(function(e){var t=e.offers,n=void 0===t?[]:t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,a=i.deviceOfferModalKey,c=i.isCountdownOfferSuffixShown,l=i.offerCopyKey,u=i.showDeviceOfferModal,s=i.showOffersTooltip,d=i.showPaymentPlanOffers,f=arguments.length>3?arguments[3]:void 0,p=f.resultOfferDisclaimerIcon,g=f.resultOfferSeeDetailsLink,m=arguments.length>4?arguments[4]:void 0;return o()(n||[],d&&r||[]).map((function(e){return v({key:l,modalKey:a,isCountdownOfferSuffixShown:c,isShowDescription:s,moreInfoText:g,moreInfoIcon:p,handleClick:m({offer:N(P({},e),{modalKey:a})}),isShowDeviceOfferModal:u})(e)}))})),Xe=(0,c.M3)(u.CO,u.YX,(function(e){var t=e.props,n=void 0===t?{}:t;return(0,a.get)(n,"activeTariff.offers")}),(function(e){var t=e.props,n=void 0===t?{}:t;return(0,a.get)(n,"handleClickOffer")}),(function(e,t){var n=e.isCountdownOfferSuffixShown,r=e.showBasketTariffOffers,o=e.showOffersTooltip,i=t.resultOfferSeeDetailsLink,a=arguments.length>3?arguments[3]:void 0;return r?(arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).map((function(e){return v({key:"title",isCountdownOfferSuffixShown:n,isShowDescription:o,moreInfoText:i,handleClick:a({isBasket:!0,offer:e})})(e)})):[]})),Qe=(0,c.M3)(Ue,u.CO,u.YX,(function(e){var t=e.props,n=void 0===t?{}:t;return(0,a.get)(n,"handleClickOffer")}),(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=t.isCountdownOfferSuffixShown,r=t.offerCopyKey,o=t.showOffersTooltip,i=arguments.length>2?arguments[2]:void 0,a=i.resultOfferDisclaimerIcon,c=i.resultOfferSeeDetailsLink,l=arguments.length>3?arguments[3]:void 0;return e.map((function(e){return v({key:r,isCountdownOfferSuffixShown:n,isShowDescription:o,moreInfoText:c,moreInfoIcon:a,handleClick:l({isBasket:!0,offer:e})})(e)}))})),$e=(0,c.M3)(V,u.CO,u.YX,(function(e){var t=e.props,n=void 0===t?{}:t;return(0,a.get)(n,"handleClickOffer")}),(function(e,t,n,r){var o=e.offers,i=void 0===o?[]:o,a=t.isCountdownOfferSuffixShown,c=t.offerCopyKey,l=t.showOffersTooltip,u=n.resultOfferDisclaimerIcon,s=n.resultOfferSeeDetailsLink;return i?i.map((function(e){return v({key:c,isCountdownOfferSuffixShown:a,isShowDescription:l,moreInfoText:s,moreInfoIcon:u,handleClick:r({isBasket:!0,offer:e})})(e)})):[]})),Je=(0,c.M3)(V,fe,(function(e,t){var n=e.accessories,r=void 0===n?[]:n,o=t.addons,i=void 0===o?[]:o,a=D(r||[]).concat(D(i)),c=[];return a&&a.forEach((function(e){if(void 0!==e.items){var t,n=e.items.filter((function(e){return e.active}));(t=c).push.apply(t,D(n))}e.active&&c.push(e)})),c})),Ze=(0,c.M3)(V,fe,me,ye,Je,(function(e,t){var n=e.addons,r=void 0===n?[]:n,o=t.propertyId,i=void 0===o?"":o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],c=(arguments.length>3?arguments[3]:void 0).extendedWarrantyPropertyId,l=void 0===c?"":c,u=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:{}).filter((function(e){return 0!==e.active})).map((function(e){return e.propertyId})),s=r.filter((function(e){return e.active})).map((function(e){return e.propertyId})),d=a.filter((function(e){return e.active})).map((function(e){return e.insurancePlanPropertyId}));return[i,l].concat(D(u),D(s),D(d)).filter(Boolean).join()})),et=(0,c.M3)(V,(function(e){var t=e.tariffs;return(void 0===t?[]:t)||[]})),tt=(0,c.M3)(et,ge,pe,u.YX,u.CO,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,o=r.resultSubsriptionModifierOffer,i=r.subscriptionHeading,a=arguments.length>4?arguments[4]:void 0,c=a.currencySymbol,l=void 0===c?"£":c,u=a.flexCardOrder,s=a.shouldUseDangerouslySetInnerHTMLForFlexButtons;return(0,_.Ng)({currencySymbol:l,offerCopy:o,subscriptions:e,modifiers:t,parentId:n,isSafeHTML:!s,flexCardOrder:u,subscriptionHeading:i})})),nt=(0,c.M3)(tt,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,_.aU)(e)})),rt=(0,c.M3)(V,fe,pe,u.YX,u.CO,(function(e,t,n,r,o){var i=e.tariffs,a=void 0===i?[]:i,c=t.modifiers,l=void 0===c?[]:c,u=r.resultSubsriptionModifierOffer,s=r.subscriptionHeading,d=o.currencySymbol,f=void 0===d?"£":d;return(0,_.Ng)({currencySymbol:f,offerCopy:u,modifiers:l,subscriptions:a,parentId:n,subscriptionHeading:s}).map((function(e){var t=e.items;return(0,E.c)(t)}))})),ot=(0,c.M3)(V,(function(e){var t=e.originalModifiers;return(void 0===t?[]:t)||[]})),it=(0,c.M3)(fe,(function(e){var t=e.modifiers,n=void 0===t?[]:t;return(0,_._c)(n)})),at=function(e,t,n,r){var o=(0,I.kl)({hasClubCard:t,rec:V({result:n}),result:n,savedRecommendations:r,configResult:e}).tariffCostMonthlyClubcard;return t&&o},ct=function(e,t,n,r){var o=(0,I.kl)({hasClubCard:t,rec:V({result:n}),result:n,savedRecommendations:r,configResult:e.result}),i=o.handsetMonthlyCost,a=void 0===i?0:i,c=o.tariffCostMonthly,l=void 0===c?0:c,u=o.tariffCostMonthlyClubcard,s=t&&u||l;return(0,w.c)(a+s)},lt=(0,c.M3)(ot,rt,(function(e,t){return(0,i.c)(e.length?e:t,t)})),ut=(0,c.M3)(Ce,lt,(function(e,t){return e&&!t})),st=(0,c.M3)(fe,(function(e){var t,n,r=e.switchBundle,o=void 0===r?{}:r;return(null===(t=o)||void 0===t?void 0:t.bundleId)!==(null===(n=o)||void 0===n?void 0:n.orgBundleId)||!1})),dt=(0,c.M3)((function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).tariff;return(void 0===e?{}:e).offers}),u.CO,u.YX,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).props,t=void 0===e?{}:e;return(0,a.get)(t,"handleClickOffer")}),(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=t.isCountdownOfferSuffixShown,r=t.offerCopyKey,o=t.showOffersTooltip,i=t.subscriptionOfferCopyKey,a=arguments.length>2?arguments[2]:void 0,c=a.resultOfferDisclaimerIcon,l=a.resultOfferSeeDetailsLink,u=arguments.length>3?arguments[3]:void 0;return e.map(v({key:i||r,isCountdownOfferSuffixShown:n,isShowDescription:o,moreInfoText:l,moreInfoIcon:c,handleClick:u}))})),ft=function(e){var t=e.configResult;return function(e){var n=e.additional,r=e.clubCardPrice,o=void 0===r?null:r,i=e.elementType,a=void 0===i?"div":i,c=e.labels,l=e.originalPrice,u=void 0===l?null:l,s=e.priceAsterisk,d=void 0!==s&&s,f=e.showClubCardPrice,p=void 0!==f&&f,g=e.type,m=void 0===g?"":g,b=e.value,y=function(e){return(0,w.c)(e,t.isStripZeroDecimals)};return{currencySymbol:t.currencySymbol,value:y(b),labels:c,priceAsterisk:d,originalPrice:u,type:m,elementType:a,additional:n,showClubCardPrice:p,clubCardPrice:y(o)}}},pt=(0,c.M3)(V,(function(e){return e.footerLegalText||""})),gt=function(e){var t,n,r=e.activeRec,o=e.activeTariff,i=e.allRecs,a=e.copy,c=e.initialActiveTabIndex,l=e.isSubscriptionModifier,u=e.recommendationScreenType,s=e.requestedLineCount,d=e.result,f=e.resultsVectorHeaderType,g=e.savedRecommendationTariffName,m=e.savedRecommendations,b=e.useFirstActivePlanName,y=d.isAccessoriesScreen,v=d.isFlexScreen,O=d.isProtectionScreen,E=r.altName,S=i[c]||{},C=S.altName,T=((t=S.tariffs||[],n=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(t,n)||R(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0]||{}).name,w=(o||{}).name,I=b&&(l||!T?w:T)||g,x=m.length||0,A=!!x,P=(0,_.uI)(u)||(0,_.A3)(u)?u:f||u,N=(0,p.c)([(0,h.c)(d),P])(a.resultHeader),D=N({deviceName:C,lineCount:x,planName:I,rec:r,tariff:o});return O?(a.protectionHeaderCopy[u]||a.protectionHeaderCopy.default)({deviceName:E,endText:s&&s>=1?" on line ".concat(m.length+1,"?"):"?"}):y?a.accessoriesHeading(r.handsetName):v?a.flexHeaderDefaultCopy(E):A?N({planName:I,deviceName:C,lineCount:x}):D},mt=(0,c.M3)(u.YX,u.CO,d.uK,k,V,fe,(function(e,t,n,r,o,i){var a=t.showResultSubheader[n]&&!r.isAccessoriesScreen&&!r.isFlexScreen&&!r.isProtectionScreen,c=(0,p.c)([(0,h.c)(r),n])(e.resultSubheader);return a&&c({rec:o,tariff:i})})),bt=(0,c.M3)(V,fe,Te,u.CO,(function(e,t,n,r){var o=r.nextScreenSteps,i=void 0===o?[]:o,a=r.showCustomisePlanFeature,c=(0,_.Yt)({activeRec:e,activeTariff:t,nextScreenSteps:i});return!n&&a?c.filter((function(e){return e!==l.cn.FLEX})):c})),yt=(0,c.M3)(V,(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).handsetPartnerPropertyId})),vt=(0,c.M3)(V,(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).handsetPartnerSkuId}))},8808:function(e,t,n){"use strict";n.d(t,{A3:function(){return P},Az:function(){return z},G:function(){return T},If:function(){return N},Iv:function(){return Q},Kq:function(){return S},Ng:function(){return F},O0:function(){return D},QH:function(){return Y},QP:function(){return I},U5:function(){return L},Uh:function(){return q},Yf:function(){return C},Yt:function(){return j},_c:function(){return K},aU:function(){return W},ch:function(){return w},g3:function(){return x},k5:function(){return R},kb:function(){return E},mm:function(){return A},qE:function(){return V},uI:function(){return _},w$:function(){return k}});var r=n(7320),o=n(8648),i=n(3336),a=n(7556),c=n(9288),l=n(5048),u=n(9948),s=n(6924),d=n(5387),f=n(7620),p=n(8956);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function h(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}var E=function(e){return e===o.U9.BYOD},S=function(e){return[o.U9.MULTILINE_DEVICE,o.U9.MULTILINE_SHARED_TARIFFS,o.U9.MULTILINE_MIXED_TARIFFS].includes(e)},C=function(e){return e===o.U9.MULTILINE},T=function(e){return e===o.U9.MULTILINE_DEVICE},w=function(e){return e===o.U9.MULTILINE_MIXED_TARIFFS},_=function(e){return e===o.U9.MULTILINE_SHARED_TARIFFS||e===o.U9.MULTILINE_MIXED_TARIFFS},I=function(e){return e===o.U9.MULTILINE_SHARED_TARIFFS},x=function(e){return e===o.U9.PAYMCHOSEN},A=function(e){return e===o.U9.PAYG},P=function(e){return e===o.U9.PLANONLY},N=function(e,t){return"phone_part_chosen"===(_(e)||P(e)?e:t||e)},D=function(e){return e===o.U9.SIMO},R=function(e,t,n,r){var i=e().result,a=i.currentScreenIndex,l=i.isFlexScreen,u=void 0!==l&&l,s=(0,c.c)(i),d=a+(u&&r>0?0:r),f=function(e,t,n,r){var i=o.cn.ACCESSORIES,a=o.cn.ADDONS,c=o.cn.FLEX,l=o.cn.PROTECTION,u=e(),s=u.config,d=u.result,f=s.result.isMultipleProtection,p=void 0!==f&&f,g={data:{buttonText:t,nextScreenIndex:n,screen:r}};switch(r){case i:case a:return g;case c:return{data:y(b({},g.data),{activeTabIndex:d.activeTabIndex})};case l:return y(b({},g),{meta:{isMultipleProtection:p}});default:return{data:y(b({},g.data),{screen:"result"})}}}(e,t,d,n[d]||"result");return{currentScreen:s,nextScreenData:f}},k=function(e){var t=e.activeRec,n=e.activeTariff,r=e.configResult,i=e.currentScreenIndex,a=e.result,c=e.screen,l=r.nextScreenSteps,u=r.showCustomisePlanFeature,s=a.isFlexScreen,d=function(e){var t=e.isFlexScreen,n=e.nextScreens,r=void 0===n?[]:n,i=e.showCustomisePlanFeature;return!(void 0!==t&&t)&&void 0!==i&&i?r.filter((function(e){return e!==o.cn.FLEX})):r}({nextScreens:j({nextScreenSteps:l,activeRec:t,activeTariff:n}),isFlexScreen:s,showCustomisePlanFeature:u}),f=null;return d.some((function(e,t){return e===c&&(f=t,!0)})),!Number.isNaN(f)&&i>=f&&d.includes(c)},j=function(e){var t,n=e.activeRec,r=e.activeTariff,i=e.nextScreenSteps,a=o.cn.ACCESSORIES,c=o.cn.ADDONS,l=o.cn.FLEX,u=o.cn.PROTECTION,s=n.accessories||[],d=n.addons,f=void 0===d?[]:d,p=r.addons,g=void 0===p?[]:p,m=h(s).concat(h(g));return null===(t=i)||void 0===t?void 0:t.filter((function(e){return(e===a&&m.length||e===c&&f.length||e===l||!(e!==u||!n.insurancePlans||!n.insurancePlans.length))&&e}))},L=function(e){var t=e.accessories,n=void 0===t?[]:t,r=e.tariffs,o=void 0===r?[]:r;if(null===n||null===o)return!1;var i=(0,l.c)(o).addons,a=void 0===i?[]:i,c=h(n).concat(h(a));return!!c.length&&(c&&c.length>0&&c.some((function(e){return!!e.items}))?c.some((function(e){return e.items.some((function(e){return e.active}))})):c&&c.length>0&&c.some((function(e){return e.active})))},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.items,n=e.parentId;return t.map((function(e,t){var r=e.active,o=e.banner,i=void 0===o?"":o,a=e.label;return{active:!!r,banner:i,before:void 0===a?"":a,id:t,value:"".concat(n).concat("-","".concat(t))}}))},B=function(e){var t=e.items,n=e.parentId;return(0,s.c)("value")(0)(M({items:t,parentId:n}).find((function(e){return!!e.active})))},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.modifiers,n=void 0===t?[]:t,r=e.parentId,o=void 0===r?0:r;return h(n.map((function(e){var t=e.heading,n=e.items;return y(b({},v(e,["heading","items"])),{heading:t,name:(0,d.c)(t.toLowerCase()),items:M({items:n,parentId:o})})}))).concat(h(n.reduce((function(e,t){var n=t.items;return h(e).concat(h(U(y(b({},n.find((function(e){return!!e.active}))),{parentId:B({items:n,parentId:o})}))))}),[])))},H=function(e){var t=e.cost,n=e.currencySymbol,r=e.isSafeHTML,o=e.name;return t?r?"".concat(o," (").concat(n).concat((0,f.c)(t),")"):"".concat(o," ").concat(n).concat((0,f.c)(t)):null},G=function(e){var t=e.currencySymbol,n=e.offer,r=e.offerCopy;return n&&r&&r({offer:"".concat(t).concat((0,f.c)(n,!0))})||null},F=function(e){var t=e.currencySymbol,n=e.flexCardOrder,r=e.isSafeHTML,o=e.modifiers,i=void 0===o?[]:o,a=e.offerCopy,c=e.parentId,l=void 0===c?0:c,u=e.subscriptionHeading,s=e.subscriptions,f=h(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.currencySymbol,n=void 0===t?"£":t,r=e.isSafeHTML,o=void 0===r||r,i=e.offerCopy,a=e.subscriptionHeading,c=void 0===a?"Data":a,l=e.subscriptions,u=void 0===l?[]:l;return u.length?[{heading:c,name:(0,d.c)(c.toLowerCase()),items:u.map((function(e,t){var r=e.active,a=e.customFields,c=void 0===a?{}:a,l=e.flexLabel,u=void 0===l?"":l,s=e.prices,d=s.costClubCardMonthlyTariff,f=s.costMonthlyTariff,p=c.tariffBanner,g=void 0===p?"":p;return{before:H({cost:f,currencySymbol:n,name:u,isSafeHTML:o}),after:G({currencySymbol:n,offer:d,offerCopy:i,isSafeHTML:o}),name:u,active:!!r,value:t,id:t,banner:g}}))}]:[]}({currencySymbol:t,offerCopy:a,subscriptions:void 0===s?[]:s,isSafeHTML:r,subscriptionHeading:u})).concat(h(U({modifiers:i,parentId:l})));return n?f.sort((function(e,t){return n.indexOf(e.name)-n.indexOf(t.name)})):f},W=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){var t=e.items;return(0,l.c)(t).name||(0,l.c)(t).before}))},K=function(){var e,t,n=(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[])||[],t=1,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||O(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],r=(void 0===n?{}:n).items,o=void 0===r?[]:r,i=(0,l.c)(o),a=i.modifiers,c=void 0===a?[]:a,u=v(i,["modifiers"]);return c.length?K(c):u},z=function(e){var t=e.isPrevTariff,n=void 0!==t&&t,r=e.postfix,o=e.recommendationScreenType,i=e.showPlusPlans,a=e.suffix,c=e.tariffName,l=e.type,s=e.unit,d=e.value,f="is_unlimited"===d,p=(0,u.c)([o]),g="data"===l||"length"===l?"":" ",m="function"==typeof p(a)?p(a)({tariffName:c}):p(a);n&&(m=c.replace("plan",""),r&&(m=m.replace(r,"")));var b=n&&f?"":"".concat(g+(s||"")," ");return i&&c.includes("Plus")&&(b="".concat(b,"Plus ")),{unit:b,value:f?"Unlimited ":" ".concat(String(d)," "),postfix:r,suffix:m,type:l,isPrevTariff:n}},V=function(e){var t=e.copy,n=e.recommendationScreenType,r=e.result,o=(0,a.Ed)({result:r});return(0,p.oD)({copy:t.usageContract,isModern:o,isSimo:D(n)})},Y=function(e){var t=e.hasDiscountValue,n=void 0!==t&&t;return e.offers.filter((function(e){return n?function(e){return!e.monthlyDiscountIsAPercentage&&!e.upfrontDiscountIsAPercentage}(e)&&function(e){return!!e.reducedMonthlyPriceDiscountValue||!!e.reducedUpfrontPriceDiscountValue}(e):!e.reducedMonthlyPriceDiscountValue&&!e.reducedUpfrontPriceDiscountValue}))},q=function(e){var t,n,r,o=(0,a.I$)({result:e}),i=(0,a.iu)({result:e}),c=(0,a.AB)({result:e}),l=e.isProtectionScreen?{product_type:"insurance",property_id:null===(t=c[0])||void 0===t?void 0:t.insurancePlanPropertyId,name:null===(n=c[0])||void 0===n?void 0:n.name}:{};return[{product_type:"core",product_id:o.productId||i.productId,quantity:null===(r=o)||void 0===r?void 0:r.quantity},l].filter((function(e){return 0!==Object.keys(e).length}))},X=function(e){return Number.isNaN(e)?0:+e},Q=function(e,t,n,a){var c=(0,i.UH)(o.Af.PRICING,{engine:n,result:a,config:t}),l=(0,r.get)(t,"result.isOverridePartnerPricing");if(!c)return e;var u=e;if("string"==typeof e&&(u=parseFloat(e),Number.isNaN(u)))throw new Error("Invalid number string");if("number"==typeof u){if(l)return c.totalCostMonthly||u;var s=c.totalCostMonthly||0;return u+s}if("object"==typeof u)return Object.keys(u).reduce((function(e,t){return function(e,t,n){return n.hasOwnProperty(e)&&("string"==typeof t[e]||"number"==typeof t[e])}(t,u,c)&&(e[t]=function(e,t,n){return n?t||e:X(e)+X(t)}(u[t],c[t],l)),e}),b({},u));throw new Error("Unsupported input type")}},8956:function(e,t,n){"use strict";n.d(t,{GO:function(){return l},OQ:function(){return c},oD:function(){return u},sj:function(){return o},wT:function(){return a}});var r=n(6012),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isModern,n=void 0!==t&&t,o=e.isSimo,i=void 0!==o&&o,a=e.resultBasketPlanAltHeaderCopy,c=void 0===a?"":a,l=e.value,u=void 0===l?"":l;if(!(0,r.c)(c))return"function"==typeof c?c(u):c;var s="default";i?s="simo":n&&(s="modern");var d=void 0!==c[s]?c[s]:c.default;return"function"==typeof d?d(u):d},i={default:"",tablet:""},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.deviceType,n=void 0===t?"default":t,o=e.isModern,a=void 0!==o&&o,c=e.phoneSummaryHeaderCopy,l=void 0===c?i:c,u=e.value,s=void 0===u?"":u,d=void 0!==l[n]?l[n]:l.default;if(!(0,r.c)(d))return"function"==typeof d?d(s):d;var f=d[a?"modern":"default"]||d.default;return"function"==typeof f?f(s):f},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.copy,n=e.isModern,o=void 0!==n&&n,i=e.length;if(!i)return null;var a=o?"modern":"default",c=(0,r.c)(t)?t[a]||null:t;return c&&""!==c?"function"==typeof c?c(i):i+c:null},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.copy,n=void 0===t?null:t,r=e.isModern,o=void 0!==r&&r,i=e.isSimo,a=void 0!==i&&i;if(!n)return null;var c=n.modern||null,l=n.default||null,u=n.simo||null;return a?u:o?c:l},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.copy,n=void 0===t?null:t,r=e.isModern,o=void 0!==r&&r,i=e.isSimo,a=void 0!==i&&i,c=e.params,l=void 0===c?null:c;if(!n)return null;var u=n.simo||null,s=n.modern||null,d=n.default||null;return a?d=u:o&&(d=s),d&&"function"==typeof d&&d(l)||null}},7832:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{EP:function(){return o},WC:function(){return u},MZ:function(){return s},kl:function(){return m},cz:function(){return h},El:function(){return O},AZ:function(){return S},uY:function(){return C},Cg:function(){return y},sr:function(){return w},kh:function(){return I},Sc:function(){return x},sT:function(){return _},sF:function(){return P},Oi:function(){return N},IZ:function(){return D}});var o=function(e,t){return Object.keys(t).reduce((function(n,o){return i=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&b(d),{accessoriesUpfrontTotal:f,accessoriesMonthlyTotal:p,accessoriesUpfrontOriginalTotal:g,accessoriesMonthlyOriginalTotal:m}},s=function(e){var t,n,r,o=(null===(n=e)||void 0===n||null===(t=n.modifiers)||void 0===t?void 0:t.length)?null===(r=e)||void 0===r?void 0:r.modifiers:[];if(0===o.length)return null;var i=o[0].items.filter((function(e){return!0===e.active}));return 0===i.length?null:i[0].label.replace(/\sMonths*|\smonths*/,"")},d=n(7556),f=n(8808),p=n(7620);function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){var t,n,r=e.cleanPrice,i=e.configResult,a=e.hasClubCard,c=e.rec,l=e.recommendationScreenType,s=e.result,m=e.savedRecommendations,b=s.productData.recommendation.map((function(e){return y({configResult:i,rec:e,recommendationScreenType:l,result:s})})).reduce(o,{},r),v=(0,d.S6)({result:s}),h=y({configResult:i,rec:c,result:s,recommendationScreenType:l}),O=u({rec:c})||0,E=w({savedRecommendations:m}),S=null===(n=s)||void 0===n||null===(t=n.flex)||void 0===t?void 0:t.deviceMonthlyCost,C=(0,f.uI)(l)||(0,f.G)(l),T=h.extendedWarrantyCostUpfront+E.extendedWarrantyCostUpfront,_=h.currentInsuranceCostMonthly,I=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).insuranceCostMonthly+e.insuranceCostMonthly;return t.showTotalForAllLines?n?r:e.insuranceCostMonthly:r}(h,E,i,v),x=h.currentDevicePaymentPlanCostMonthly;i.showNonCumlativeTotals&&!(0,f.G)(l)&&(x=0);var A=0,P=0,N=E.accessoriesCostUpfront,D=E.devicePaymentPlanCostUpfront;(0,f.G)(l)&&(N=O.accessoriesUpfrontTotal+E.accessoriesCostUpfront,D=h.devicePaymentPlanCostUpfront+E.devicePaymentPlanCostUpfront,i.includeSimCardCost&&(A=h.simCardCostMonthly,P=h.simCardCostUpfront));var R=h.handsetUpfrontCost+E.tariffCostUpfront+h.deviceConnectionCharge;i.showTotalForAllLines?(R+=N+D)>0&&(R+=(0,f.ch)(l)?T-h.extendedWarrantyCostUpfront:T):R+=O.accessoriesUpfrontTotal+h.devicePaymentPlanCostUpfront+E.devicePaymentPlanCostUpfront+T;var k=h.handsetUpfrontCost+O.accessoriesUpfrontTotal+h.deviceConnectionCharge+P+E.tariffCostUpfront,j=i.showPlanOnlyBasket&&(0,f.A3)(l),L=i.excludeActiveTariffCostUpfrontOriginal?0:h.tariffCostUpfrontOriginal,M=i.showTotalForAllLines&&(0,f.ch)(l)?T-h.extendedWarrantyCostUpfront:T;i.showTotalForAllLines&&C?k+=T+E.accessoriesCostUpfront:k+=E.extendedWarrantyCostUpfront;var B=M+E.accessoriesCostUpfront+E.devicePaymentPlanCostUpfront+E.tariffCostUpfrontOriginal+L+(j?0:h.devicePaymentPlanCostUpfront)+(i.showTotalForAllLines?O.accessoriesUpfrontTotal:O.accessoriesUpfrontOriginalTotal),U=O.accessoriesUpfrontOriginalTotal+T+E.accessoriesCostUpfront+E.tariffCostUpfrontOriginal+L;(0,f.G)(l)?(j||(U+=h.devicePaymentPlanCostUpfront),k+=h.devicePaymentPlanCostUpfront):(U+=E.devicePaymentPlanCostUpfront,k+=E.devicePaymentPlanCostUpfront);var H=i.useTariffCostMonthlyDeviceCharge?h.tariffCostMonthlyDeviceCharge:h.tariffCostMonthly,G=h.tariffCostMonthlyClubcard&&a?h.tariffCostMonthlyClubcard:H,F=O.accessoriesMonthlyTotal+_+x+A+G+E.tariffCostMonthly;i.showMonthlyDeviceOriginal?F+=h.currentDevicePaymentPlanCostMonthly:F+=i.isAlwaysShowingFlexPrices?S:h.tariffCostMonthlyDevice;var W,K,z=O.accessoriesMonthlyTotal+I;return i.showTotalForAllLines&&(0,f.uI)(l)?z+=b.tariffCostMonthlyOriginal+b.devicePaymentPlanCostMonthly:i.showAutoPayToggle&&!s.isAutoPayActive?z+=h.tariffCostMonthlyOriginal:z+=h.tariffCostMonthlyOriginal+E.tariffCostMonthlyOriginal+h.devicePaymentPlanCostMonthlyOriginal+E.devicePaymentPlanCostMonthly,W=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){return e+Number((0,T.get)(t,"costUpfront")||0)}),0)}((0,T.get)(t,"accessories"))||0)}),0),devicePaymentPlanCostMonthly:t.reduce((function(e,t){return e+Number((0,T.get)(t,"devicePaymentPlan.costMonthly")||0)}),0),devicePaymentPlanCostUpfront:t.reduce((function(e,t){return e+Number((0,T.get)(t,"devicePaymentPlan.costUpfront")||0)}),0),extendedWarrantyCostUpfront:t.reduce((function(e,t){return e+Number((0,T.get)(t,"extendedWarranty.costUpfront")||0)}),0),insuranceCostMonthly:t.reduce((function(e,t){return e+Number((0,T.get)(t,"insurance.costMonthly")||0)}),0),tariffCostMonthly:t.reduce((function(e,t){return e+Number((0,T.get)(t,"prices.costMonthly")||0)}),0),tariffCostMonthlyOriginal:t.reduce((function(e,t){return e+Number((0,T.get)(t,"prices.costMonthlyOriginal")||0)}),0),tariffCostUpfront:t.reduce((function(e,t){return e+Number((0,T.get)(t,"prices.costUpfront")||0)}),0),tariffCostUpfrontOriginal:t.reduce((function(e,t){return e+Number((0,T.get)(t,"prices.costUpfrontOriginal")||0)}),0)}},_=function(e){var t=e.multilineIsTariffCostMonthlyTariff,n=e.tariff,r=P(n);return t?Number(r.costMonthly)||Number(r.costMonthlyTariff)||0:Number(r.costMonthlyTariff)||Number(r.costMonthly)||0},I=function(e){var t=e.multilineIsTariffCostMonthlyTariff,n=e.recommendationScreenType,r=e.tariff,o=P(r);if((0,f.uI)(n))return Number(o.costMonthlyTariff);if((0,f.Yf)(n))return _(r);var i=_({multilineIsTariffCostMonthlyTariff:t,tariff:r}),a=Number(o.costMonthlyTariffDeviceAccessCharge)||0;return i||a},x=function(e){var t=e.configResult,n=e.recommendationScreenType,r=e.result,o=e.tariff,i=r.isAutoPayActive,a=P(o),c=_({multilineIsTariffCostMonthlyTariff:t.multilineIsTariffCostMonthlyTariff,tariff:o});return t.shouldApplyAutoPayOffer&&N(o)&&i&&(0,f.uI)(n)?c:Number(a.costMonthlyOriginal)||c};function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(e){var t,n,r=(null===(n=e)||void 0===n||null===(t=n.modifiers)||void 0===t?void 0:t.length)?e.modifiers:[],o={};return r.length>0&&r[0].items.forEach((function(t){t.active&&t.modifiers[0].items.forEach((function(t){if(t.active){var n=t.prices,r=n.costMonthlyDevice,i=n.costMonthlyDeviceClubcard,a=n.costUpfront;o={costUpfront:a,costMonthlyDevice:r,deviceCostClubcardMonthly:i,costMonthly:e.prices.costMonthlyTariff+r}}}))})),function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","partner","refs","splitTests","testHook"]);return t?(0,r.cloneElement)(t,function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.result,n=void 0===t?{}:t,r=e.splitTests;return{result:n,splitTests:void 0===r?{}:r}}))(o.c)},5996:function(e,t){"use strict";t.c={SITEMAP_HASH_EXCLUSION:"sitemap_hash_exclusion",USER_LOGGED_IN:"user_logged_in",UPLIFT_CONTROL_GROUP:"uplift_control_group",EXIT:"exit",CHAT_ACTIVE:"chat_active",CHAT_ENGAGEMENT_ACTIVE:"chat_engagement_active",WEBPAGE_MENU_OPEN:"webpage_menu_open",WEBPAGE_MODAL_OPEN:"webpage_modal_open",ADDRESS_ENTRY_FIELD_INTERACTED:"address_entry_field_interacted",FILTER_MODAL_OPEN:"filter_modal_open",BYOD_EXCLUDED_DEVICE:"byod_excluded_device",IS_MULTILINE:"is_multiline",USER_ALREADY_ENGAGED_ENGINE:"user_already_engaged_engine",IS_SMALL_BUSINESS_LIMITED:"is_small_business_limited",IS_PLANS_PAGE:"is_plans_page",IS_PAY_AS_YOU_GO:"is_pay_as_you_go",INVALID_LINE_OF_BUSINESS_IN_BASKET:"invalid_line_of_business_in_basket",IS_ADDONS_STEP:"is_addons_step"}},2044:function(e,t,n){"use strict";n.d(t,{wn:function(){return E},_4:function(){return O},wT:function(){return m},Wo:function(){return b},es:function(){return T},Cy:function(){return S},yO:function(){return C}});var r=n(8648),o=n(3336),i=n(9336),a=n(4920),c=n(7248),l=n(5996),u=n(8392),s=function(e){var t=e.dispatch,n=e.isHideEngine,r=e.open,o=e.pauseFocusTrap;r&&!!o==!n&&t((0,u.y_)(n))},d=function(e){var t=e.dispatch,n=e.isHideEngine,r=e.open,o=e.suppress;!r&&!!o!=!!n&&t((0,u.Uv)(n))};function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=Object.values(l.c).find((function(t){return!!e[t]}))||null;return{hideEngine:!!t,context:t}},m=function(e){var t,n=e.config,r=((void 0===n?{}:n).engagement||{}).forceTabToAlwaysShow;if(r&&Object.keys(r).length>1){var o=v(e),i=g(o).context;return void 0!==r[i]?r[i]:r.default}return null===(t=r)||void 0===t?void 0:t.default},b=function(e){var t=v(e),n=g(t).hideEngine;return void 0!==n&&n},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(0,o.UH)(r.Af.SUPPRESSION_CONFIG,e)||{},i=n[t];return t?i||{}:n},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(){var e,t=((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})||{}).engine,n=void 0===t?{}:t;return f(e={},l.c.UPLIFT_CONTROL_GROUP,!!n.isHidden),f(e,l.c.EXIT,n.exitScreenSeen&&!n.open),e}(e);return p({},t,y(e,"reasons"))},h=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(f(e={},l.c.UPLIFT_CONTROL_GROUP,p({},{launcher:!1,overlay:!1,launchpad:!1,inpage:!1})),f(e,l.c.EXIT,p({},{launcher:!1,overlay:!1,launchpad:!1,inpage:!1})),e),r=y(t,"exceptions");return p({},n,Object.keys(r).reduce((function(e,t){return n=p({},e),o=null!=(o=f({},t,p({},{launcher:!1,overlay:!1,launchpad:!1,inpage:!1},r[t])))?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))})),n;var n,o}),{}))},O=function(){var e=v(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),t=g(e).context;return void 0===t?null:t},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=O(e);return h(e)[t]||{launcher:!1,overlay:!1,launchpad:!1,inpage:!1}},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.browser,r=void 0===n?{}:n,o=e.chat,l=void 0===o?{}:o,u=e.device,s=void 0===u?{}:u,d=e.engine,f=void 0===d?{}:d,p=f.open,g=void 0!==p&&p,v=!!(0,a.OW)(c.c.isExit),h=(0,i.mc)({engine:f}),O=m(e),S=b({browser:r,chat:l,device:s,engine:f}),C=!g&&O&&!S||!O&&S,T=y(e,"reasons").user_logged_in||!1;return!(t&&function(){var e=arguments.length>1?arguments[1]:void 0,t=E(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return t&&t[e]||!1}({chat:l,engine:f,device:s,browser:r},t))&&(!!C||!g&&(h||S&&(T||v)))},C=function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.browser,n=void 0===t?{}:t,r=e.chat,o=void 0===r?{}:r,i=e.device,a=void 0===i?{}:i,c=e.engine,u=void 0===c?{}:c,s=O({chat:o,engine:u,device:a,browser:n});return u.suppress&&[l.c.USER_LOGGED_IN].includes(s)}(e)},T=function(e){return function(e){var t=e.dispatch,n=e.handleFocus,r=void 0===n?s:n,o=e.handleVisibility,i=void 0===o?d:o,a=e.isHideEngine,c=e.open,l=e.pauseFocusTrap;i({dispatch:t,suppress:e.suppress,open:c,isHideEngine:a}),r({dispatch:t,open:c,pauseFocusTrap:l,isHideEngine:a})}(e)}},8544:function(e,t,n){"use strict";n.d(t,{e2:function(){return D},Ef:function(){return B}});var r=n(8084),o=n.n(r),i=n(7320),a=n(8648),c="15Gifts",l={DEVICE:"".concat(c,":Device"),MULTLINE:":MULTILINE_",OFFER:"".concat(c,":Offer"),PLAN:"".concat(c,":Plan"),PROFILE_DATA:"".concat(c,":ProfileData"),PROTECTION:"".concat(c,":Protection"),ROUTER:"".concat(c,":Router")};function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?"".concat(f).concat(r+1):"",S=l?function(e,t){var n=e.brand,r=e.image,o=e.length,i=void 0===o?0:o,a=e.model,c=e.monthly,l=e.today,u=[];return"0"!==l&&l&&(u=s(u).concat([{product:{name:"".concat(n," ").concat(a),category:"".concat(d).concat(t),price:l,image:r}}])),"0"!==c&&c&&(u=s(u).concat([{product:{name:"".concat(n," ").concat(a),category:"".concat(d,":MonthlyPayment").concat(t),price:c,image:r},quantity:i}])),u}(l,E):[],C=v?y(v,p):[],T=h?function(e,t){var n=e.plan,r=e.price;return[{product:{name:n,category:"".concat(g).concat(t),price:r}}]}(h,E):[],w=u?function(e,t){var n=e.monthly,r=e.name;return"0"!==n&&"0.00"!==n&&n?[{product:{name:r,category:"".concat(m).concat(t),price:n}}]:[]}(u,E):[],_=O?y(O,b):[],I=(S.length?1:0)+(C.length?1:0)+(T.length?1:0)+(w.length?1:0)+(_.length?1:0);return{chatArray:s(i).concat(s(T),s(S),s(w),s(_),s(C)),numberOfItems:c+I}}),{})}(n):[],a=i.chatArray,c=void 0===a?[]:a,l=i.numberOfItems;return{type:"cart",numItems:void 0===l?0:l,products:S(c).concat(S(o))}}var T=n(424),w={CLOSED:{FIRSTQUESTION:{id:"15giftsCloseFirstQuestion",enabled:!0},QUESTIONJOURNEY:{id:"15giftsCloseQuestionJourney",enabled:!0},EXISTINGCUSTOMER:{id:"15giftsCloseExistingCustomer",enabled:!0},TOOMANYLINES:{id:"15giftsCloseTooManyLines",enabled:!0},VECTORLOADINGSCREEN:{id:"15giftsCloseVectorLoadingScreen",enabled:!0},RECOMMENDATION:{id:"15giftsCloseRecommendation",enabled:!0},PROTECTION:{id:"15giftsCloseProtection",enabled:!0},GENERAL:{id:"15giftsClose",enabled:!0}},OPENED:{FIRSTQUESTION:{id:"15giftsFirstQuestion",enabled:!0},QUESTIONJOURNEY:{id:"15giftsQuestionJourney",enabled:!0},EXISTINGCUSTOMER:{id:"15giftsExistingCustomer",enabled:!0},TOOMANYLINES:{id:"15giftsTooManyLines",enabled:!0},VECTORLOADINGSCREEN:{id:"15giftsVectorLoadingScreen",enabled:!0},RECOMMENDATION:{id:"15giftsRecommendation",enabled:!0},PROTECTION:{id:"15giftsProtection",enabled:!0},AWARENESS:{id:"15giftsAwareness",enabled:!0},FEEDBACK:{id:"15giftsFeedback",enabled:!0}},ENGAGEMENT:{id:"15giftsEngagement",enabled:!0},LOADED:{id:"15giftsLoaded",enabled:!0}};function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1,w=y>1&&""!==h,_=y>1,I=d?"OPENED":"CLOSED",x=P(n),A=x[I],N=A.EXISTINGCUSTOMER,D=A.FIRSTQUESTION,R=A.PROTECTION,k=A.QUESTIONJOURNEY,j=A.RECOMMENDATION,L=A.TOOMANYLINES,M=A.VECTORLOADINGSCREEN;return u?x.LOADED.enabled&&x.LOADED.id:S&&C?D.enabled&&D.id:_||S&&T?k.enabled&&k.id:m===a.oJ.VECTOR?M.enabled&&M.id:h===a.cn.EXIT?"exit_too_many_lines"===E?L.enabled&&L.id:N.enabled&&N.id:h===a.cn.PROTECTION?R.enabled&&R.id:h===a.cn.INITIAL?j.enabled&&j.id:c===a.gR.DEFAULT||c===a.gR.WELCOME||c===a.gR.AWARENESS?x.OPENED.AWARENESS.enabled&&x.OPENED.AWARENESS.id:c===a.gR.ENGAGEMENT?x.ENGAGEMENT.enabled&&x.ENGAGEMENT.id:c===a.gR.FEEDBACK?x.OPENED.FEEDBACK.enabled&&x.OPENED.FEEDBACK.id:w?k.enabled&&k.id:d?x.OPENED.QUESTIONJOURNEY.enabled&&x.OPENED.QUESTIONJOURNEY.id:x.CLOSED.GENERAL.enabled&&x.CLOSED.GENERAL.id},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.chatConfig,n=void 0===t?{}:t,r=e.eventDetails,o=void 0===r?{}:r;if(o!=={}){var i=N({chatConfig:n,eventDetails:o});i&&(A()&&Array.isArray(window.lpTag.section)?(R(),k(),M(i)):j(i))}else T.c.info("sendLivePersonEvent no event",{data:{eventDetails:o}})},R=function(){I&&clearInterval(I)},k=function(){x()&&(window.__15gifts.leap.chat.eventQueue=[])},j=function(e){x()?(window.__15gifts.leap.chat.eventQueue.push(e),!I&&L(),T.c.info("sendLivePersonEvent failed",{data:{eventStatus:e}})):T.c.info("window.__15gifts.leap.chat.eventQueue is not available",{data:{eventStatus:e}})},L=function(){I=setInterval((function(){return function(){if(x()){if(A()&&Array.isArray(window.lpTag.section)){var e=(0,i.get)(window,"__15gifts.leap.chat.eventQueue",[]).slice(-1).pop();clearInterval(I),M(e,"sendLivePersonEvent added from __15gifts.leap.chat.eventQueue"),k(),T.c.info("__15gifts.leap.chat.eventQueue has been cleared")}}else clearInterval(I)}()}),250),setTimeout((function(){return R()}),45e3)},M=function(e,t){var n,r,o=(n=window.lpTag.section,r=n.filter((function(e){return!e.includes("15gifts")})),function(e){if(Array.isArray(e))return _(e)}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([e]);window.lpTag.newPage(document.URL,{section:o}),T.c.info(t||"sendLivePersonEvent",{data:{eventStatus:e}})},B=function(e){var t=e.chatConfig,n=void 0===t?{}:t,r=e.eventDetails,o=void 0===r?{}:r,a=e.profile,c=e.sdes,l=void 0===c?{}:c;if(o!=={}){var u=N({chatConfig:n,eventDetails:o}),s=P(n);if(u===s.OPENED.RECOMMENDATION.id||u===s.OPENED.PROTECTION.id)if((0,i.get)(window,"lpTag.sdes.send")){var d=(l.getEventData||C)({profile:a});window.lpTag.sdes.send(d),T.c.info("sendProfileData",{data:{eventData:d}})}else T.c.info("sendProfileData failed",a)}else T.c.info("sendProfileData no event",{data:{eventDetails:o}})}},9888:function(e,t,n){"use strict";n.d(t,{c:function(){return Al}});var r={};n.r(r),n.d(r,{borderWidths:function(){return zn},breakpoints:function(){return Fn},colors:function(){return Rn},fontSizes:function(){return jn},fontWeights:function(){return Ln},fonts:function(){return kn},letterSpacing:function(){return Mn},lineHeights:function(){return Bn},opacities:function(){return Kn},radii:function(){return Gn},space:function(){return Hn},textDecoration:function(){return Un},zIndices:function(){return Wn}});var o=n(1504),i=(n(1832),n(7976)),a=n(1712),c=n(5428),l=n(3268),u=n.n(l),s=n(1224),d=n(552),f=n(8084),p=n.n(f),g={button:{margin:0}},m=p()(g,{color:"text00",fontSize:"2",border:"solid 1px",borderColor:"black"}),b={primary:m,extrasAccordion:p()(m,{border:"none",p:0,gridArea:"footer",display:"flex",flexDirection:"column"}),productSubscription:p()(m,{border:"none",p:0,"& > button":{border:"solid 1px",borderColor:"black",borderRadius:0,color:"text00",cursor:"pointer",mb:3,padding:2,textAlign:"left",width:"100%"}}),productDetails:p()(m,{border:"none"}),additionalInformation:p()(g,{border:"solid 1px",borderColor:"interaction09",span:{fontSize:"1",lineHeight:"2",p:{fontSize:"1",lineHeight:"2"}}}),tariffs:p()(g,{'> button[aria-expanded="true"]':{mb:"3"},borderTop:"1px solid",borderColor:"interaction09"}),resultAdditionalInformation:p()(g,{borderTop:"1px solid",borderColor:"interaction09"}),multiLine:p()(m,{})},y=p()({},{img:{mb:[2,2,0,0,0]}}),v={flexWrap:"wrap",pb:2,pt:2,"& > *":{flex:["auto","auto",1,1,1]}},h=p()(v,{img:{mr:[0,0,2,2,2]}}),O=p()(v,{flexDirection:"row-reverse",img:{ml:[0,0,2,2,2]}}),E={primary:y,imageLeft:h,imageOnly:p()(v,{}),imageRight:O,textOnly:p()(v,{})},S=p()({borderRadius:0,p:{margin:0}},{backgroundColor:"neutral01",color:"text00",fontSize:"1",fontWeight:"bold",py:1,px:2}),C={primary:S,radioCards:p()(S,{mt:"2",py:18,px:18,lineHeight:"4",fontSize:"1",img:{mr:12}})},T=n.p+"7dda35669bf5dd81394dfb1116acdf4a.svg",w=p()({alignItems:"center",Label:{borderStyle:"solid"}},{label:{borderColor:"interaction07",borderWidth:"0",backgroundColor:"interaction20",fontWeight:"regular",padding:3,span:{fontSize:"1",lineHeight:"2",color:"neutral04",mr:2},input:{visibility:"hidden"},":hover":{backgroundColor:"interaction12",borderColor:"interaction13"}},"label > div":{marginLeft:"auto",width:32,height:32,svg:{width:32,height:32,marginRight:0}},img:{mr:"3"},"& > input":{position:"absolute",left:"-10000px",top:"auto",width:1,height:1,overflow:"hidden",p:0,border:"none","&.focus-visible":{outline:"none","&+ label":{outline:"3px solid",outlineColor:"interaction16"}}},'[type="checkbox"]':{"&+ label":{svg:{display:"none"},":after":{borderRadius:"8px",border:"2px solid",background:"interaction20",borderColor:"neutral02",position:"absolute",left:"calc(100% - 32px)",top:"50%",transform:"translate(-50%, -50%)",width:32,height:32,content:"' '"}}}}),_=p()(w,{label:{borderColor:"interaction15",borderWidth:"2",backgroundColor:"interaction19",span:{color:"interaction08"},":hover":{borderColor:"interaction15",backgroundColor:"interaction14"}},'[type="radio"]':{"&+ label":{borderTopColor:"interaction21"}},'[type="checkbox"]':{"&+ label":{svg:{display:"none"},":after":{backgroundImage:"url(".concat(T,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",borderColor:"interaction18",backgroundColor:"interaction18"}}}}),I={primary:w,primarySelected:_,flex:p()(w,{}),flexSelected:p()(_,{})},x={chatButtonWrapper:{mt:"20px"},primary:p()({button:{width:"100%"}},{h3:{fontSize:"1",lineHeight:"2",mb:1}}),totalWrapper:{mt:3},basketTermsAndConditions:{fontSize:"0",fontFamily:"body",lineHeight:"1",fontWeight:"regular"}},A=p()({flexDirection:"column"},{borderTop:"1px solid",borderColor:"neutral02",color:"text00",py:3,h4:{lineHeight:"2",mb:1}}),P={primary:A,accessories:p()(A,{}),insurance:p()(A,{}),devicePaymentPlan:p()(A,{}),tariff:p()(A,{}),basketItemPrice:p()(A,{textAlign:"right"}),productOffers:p()(A,{borderTop:"none",pt:0}),addOn:p()(A,{})},N=n.p+"31be2e17719589f3670bcacf5f5aa28f.png",D=(0,a.keyframes)({from:{marginLeft:10,marginRight:10},to:{marginLeft:0,marginRight:0}}),R={},k={m:0,backgroundColor:"background01",position:"relative",boxShadow:"0 0 8px 2px rgba(0,0,0,.2)",display:"none",transitionProperty:"max-height",transitionDuration:".8s",transitionTimingFunction:"ease-out",width:"100%"},j=p()(k,{display:"block"}),L=p()({my:0,mx:20,px:0,paddingTop:46,color:"neutral04",fontSize:"1",lineHeight:"3",transitionDelay:"0",transitionProperty:"opacity",transitionDuration:".2s",transitionTimingFunction:"linear",overflow:"hidden"},{opacity:.1,transitionDuration:0,transitionDelay:0}),M=p()(R,{button:{width:"100%"}}),B=p()(R,{mx:"auto",maxWidth:1024,px:[24,24,72,0],width:["100%","100%","100%",840]}),U=p()(B,{opacity:0,pb:[30,0],transition:"opacity .3s 0s","&.enter-done":{opacity:1}}),H=p()(B,{}),G=p()(R,{pt:[24,72],h1:{mb:"3"},h2:{fontSize:"1",fontWeight:400,lineHeight:"22px",mb:"3",button:{fontSize:"inherit",lineHeight:"inherit"}}}),F=p()(G,{h1:{mb:[32,32,56]}}),W=p()(B,{mb:[16,24],mt:36}),K=p()(B,{}),z=p()(R,{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",ml:"auto"}),V=p()(R,{background:"background02",minHeight:1,position:"relative"}),Y=p()(R,{position:["relative","relative","relative","sticky"],top:["0","0","0",54]}),q=p()(R,{backgroundColor:"background02",display:["none","none","none","block"],height:0,marginTop:"-6px",opacity:0,paddingTop:"6px",pointerEvents:"none",position:"sticky",top:0,transition:"opacity 0.3s",zIndex:1}),X=p()(R,{height:"100%",position:"relative",width:["100%","100%","100%",232],h2:{display:"inline",fontSize:"2",fontWeight:"bold",mb:0}}),Q=p()(R,{paddingBottom:80,paddingTop:20,borderStyle:"solid",borderWidth:"0px",borderBottomWidth:"1",borderColor:"neutral02",position:"relative"}),$=p()(Q,{borderTopWidth:"1",mt:[45,null,70]}),J=p()(Q,{borderBottomWidth:"0px"}),Z={singleSlider:p()(Q,{borderTopWidth:"0px",borderBottomWidth:"0px",marginTop:[80,null,130]}),firstSlider:$,lastSlider:J,baseSliderAnswers:Q},ee=p()(Z,{"> div":{display:"grid",gridTemplateColumns:["1fr 70px",null,"70px 1fr"],gridTemplateRows:"auto",gridTemplateAreas:['"header image" "slider slider"',null,'"header header" "image slider"']}}),te=p()(R,{maxWidth:1024,mx:"auto"}),ne=p()(R,{textAlign:"center",marginTop:["6vh",88],maxWidth:["80%","80%","94%"],marginLeft:"auto",marginRight:"auto",h1:{mt:32}}),re=p()(R,{background:"url(".concat(N,") center / contain no-repeat"),justifyContent:"center",minHeight:175}),oe=p()(ne,{}),ie=p()(re,{}),ae=p()(R,{animation:"".concat(D," .3s ease-out 0s"),borderRadius:100,height:"100%",position:"relative",width:"100%",svg:{position:"absolute",stroke:"neutralBlack",strokeDasharray:50,strokeDashoffset:50,transition:"stroke-dashoffset 0.5s 0.5s ease-out"}}),ce=p()(R,{}),le=p()(R,{mb:4}),ue=p()(R,{mb:2}),se=p()(R,{display:["block","block","block","flex"]}),de=p()(R,{minWidth:["100%","100%","100%",600,688],pl:[24,24,24,72],pr:[24,24,24,48],pt:[24,24,24,48],pb:[4,4,4,0],width:"100%"}),fe=p()(R,{background:"background02",height:"100%",pb:[24,24,24,32],pt:[24,24,24,48],px:[24,24,24,32],width:["100%","100%","100%",296]}),pe=p()(R,{background:"background02",height:"100%",pb:[24,24,24,32],pt:[24,24,24,48],px:[24,24,24,32],width:["100%","100%","100%",382]}),ge=p()(R,{mx:[32,32,104],my:88,button:{minHeight:44,width:["100%","100%",208]}}),me=p()(R,{mb:32,h1:{mb:"3"}}),be=p()(R,{}),ye=p()(R,{clear:"both",display:"flex",height:0,mx:"auto",maxWidth:"79.375em",opacity:0,overflow:"hidden",position:"relative",transition:"all 1s",":hover":{cursor:"pointer"}}),ve={ctaContainer:M,framingTabContent:k,framingTabContentBase:{display:"block"},framingTabContentVisible:j,defaultAnswerWrapper:{display:"flex",position:"relative",mt:11,mr:0,mb:11,ml:0,width:"100%"},questionContainer:U,questionHeader:G,questionCTAContainer:z,engineProgressWrapper:W,introTimed:ne,introTimedImage:re,businessIntroTimed:oe,businessIntroTimedImage:ie,engineAccordionWrapper:K,basketBlock:V,basketBlockFixed:Y,scrollButtonContainer:q,basketContainer:X,sliderAnswers:Z,sliderAnswersWithImage:ee,specialLoading:te,loadingTick:ae,questionVectorContainer:H,questionVectorHeader:F,mainContent:ce,resultHeaderContainer:le,resultProtectionHeaderContainer:ue,resultWrapper:se,resultWrapperLeft:de,resultWrapperRight:fe,resultWrapperRightInPage:pe,tabContentContainer:{},tabContentWrapperAnimation:L,exitScreenWrapper:ge,exitScreenCopyWrapper:me,modalHeaderContainer:be,launchpadContainer:ye,launchpadShown:p()(ye,{height:"100%",opacity:1}),carouselCardButtonWrapper:p()(R,{}),carouselCardButtonWrapperActive:p()(R,{}),protectionSubHeaderNotice:p()(R,{fontSize:"0",fontFamily:"body",lineHeight:"1",marginBottom:"4",a:{cursor:"pointer",textDecoration:"underline"}}),declineModalCopyWrapper:p()(R,{}),inPageDivider:p()(R,{mt:50,span:{bg:"neutralWhite",display:"inline-block",left:"calc(50% - 103px)",position:"absolute",px:"4",bottom:"-11px",zIndex:9}})},he=p()({item:{flexGrow:1,flexDirection:"column",borderTop:"1px solid"}},{fontSize:"1",lineHeight:"2",item:{paddingTop:2,borderColor:"interaction09",color:"neutral02",marginRight:2,span:{"&:first-of-type":{fontWeight:"bold",marginBottom:2}}}}),Oe={primary:he,primaryActive:p()(he,{item:{borderTopWidth:"5px",paddingTop:1,color:"text00"}})},Ee={primary:p()({},{})},Se=n.p+"40f03a40a0807b7b58fba77fbeb87a51.svg",Ce=n.p+"2034232eefee7a2cb701e81559fd460d.svg",Te=n.p+"8e020ccd21d7a487b5442876bf2adc17.svg",we=n.p+"d6935674a01c86960db798dd42be98c7.svg",_e=n.p+"7021e917585419b9085d52681d1d5ce9.svg",Ie=n.p+"e253a0b870c0ea099c816e71d3229ed0.svg";function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ae(e){for(var t=1;t div":{minWidth:198,display:"flex"}})}),un=p()(cn,{borderTop:"1px solid",borderTopColor:"neutralBlack",mt:"2",pt:"2",itemWrapper:on(rn({},an),{width:"auto","& > div":{minWidth:"100%",display:"flex"},".active-child":{visibility:"visible"},visibility:"hidden"})}),sn={primary:ln,boxedIncludedOffers:p()(cn,{}),fullWidth:un,tabbedNavigationWrapper:p()(cn,{display:"flex",marginTop:"32px",justifyContent:"center"}),buttonNavigationWrapper:{display:"flex",justifyContent:"center",columnGap:"7",mt:"3",button:{width:24,height:24,padding:0,color:"transparent",borderRadius:0,cursor:"pointer",backgroundColor:"neutralBlack",WebkitMaskRepeat:"no-repeat",WebkitMaskSize:"contain",WebkitMaskImage:"url(".concat(Se,")"),":last-of-type":{WebkitMaskImage:"url(".concat(tn,")")},"&:disabled":{backgroundColor:"neutral02"}}}},dn={cursor:"pointer",svg:{position:"absolute"}},fn={primary:p()(dn,{}),closeBubble:p()(dn,{height:24,position:"absolute",right:10,top:10,width:24}),modalContent:p()(dn,{justifySelf:"end",p:0,width:24,height:24,ml:"auto"}),navbar:p()(dn,{})},pn=n.p+"c8810e93bf97db036843162776b22f33.svg",gn={cursor:"pointer"},mn=p()(gn,{gridTemplateAreas:'"offer offer offer" "header header header" "main main price" "footer footer footer"',gridTemplateColumns:"24px 3fr 1fr",padding:3,h3:{gridArea:"header"}}),bn=p()(mn,{gridTemplateAreas:'"offer offer offer" "radio header header" "main main price" "footer footer footer"'}),yn=p()(mn,{gridTemplateAreas:'"offer offer offer" "header header radio" "main main price" "footer footer footer"'}),vn=p()(mn,{gridGap:0,gridRowGap:3}),hn=p()(vn,bn,{}),On=p()(vn,yn,{}),En=p()(gn,{gridArea:"offer"}),Sn=p()(gn,{gridArea:"radio",justifySelf:"end",position:"relative",'[type="checkbox"] + svg':{display:"none"},width:24,height:24,":after":{borderRadius:"8px",border:"2px solid",background:"interaction20",borderColor:"neutral02",position:"absolute",transform:"translate(-50%, -50%)",width:24,height:24,content:"' '",right:-12,top:12}}),Cn=p()(Sn,{'[type="checkbox"]:checked + svg':{display:"none"},":after":{backgroundImage:"url(".concat(pn,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",borderColor:"interaction18",backgroundColor:"interaction18"}}),Tn=p()(gn,{gridArea:"price",justifySelf:["space-between","end"],alignSelf:"baseline",div:{flexDirection:"column"}}),wn=p()(gn,{gridArea:"radio",outline:"none"}),_n={primary:mn,primaryRadio:bn,primaryTick:yn,protection:vn,protectionRadio:hn,protectionTick:On,offers:En,tickContainer:Sn,tickContainerSelected:Cn,lastContainer:Tn,radioWrapper:wn,radioWrapperSelected:p()(wn,{}),featuredLinkWrapper:p()(gn,{gridArea:"footer"})},In={primary:p()({textArea:{opacity:0,pointerEvents:"none",position:"absolute",width:1,zIndex:"-1"}},{})},xn={borderRadius:0,p:{margin:0}},An={primary:p()(xn,{color:"text00",fontSize:"1",alignItems:"center",counter:{alignItems:"center",mr:"1",div:{py:"1",px:"2",backgroundColor:"neutral01",fontWeight:"bold"},"&:last-of-type":{mr:0}}}),simple:p()(xn,{fontSize:"1",p:{mr:"1"},counter:{mr:"1"}})},Pn=n.p+"9070b4e29d920e3bdacc9e092fa7fd8d.svg",Nn=n.p+"7aebe5fa6e66cf58ccd7da9c2f32960a.svg",Dn={primary:p()({alignItems:"center",gridTemplateColumns:"1fr 3fr 1fr","& > div":{flexDirection:"column",alignItems:"center"}},{fontSize:"1",lineHeight:"1","& > div":{px:3,py:1,":first-of-type":{button:{":first-of-type":{background:"url(".concat(Pn,") no-repeat center center")}}}},button:{marginBottom:1,width:40,height:40,p:0,background:"url(".concat(Nn,") no-repeat center center"),color:"transparent"}})},Rn={text:"#000",primary:"#0000ff",secondary:"#000",accent00:"#0000ff",accent01:"#ff4848",accent02:"#ffffff",accent03:"#0000ff",accent04:"#0000ff",accent05:"#0000ff",accent06:"#eaeaea",accent07:"#ffffff",accent08:"#0000ff",accent09:"#EAEAEA",interaction00:"#0000ff",interaction01:"#f9f9f9",interaction02:"#f9f9f9",interaction03:"#0000b4",interaction04:"#1e1e1e",interaction05:"#000000",interaction06:"#000000",interaction07:"#000000",interaction08:"#0000ff",interaction09:"#000000",interaction10:"#0000ff",interaction11:"#0000ff",interaction12:"#eaeaea",interaction13:"#000000",interaction14:"#ffffff",interaction15:"#0000ff",interaction16:"#0000b4",interaction17:"#eaeaea",interaction18:"#0000ff",interaction19:"#ffffff",interaction20:"#ffffff",interaction21:"#0000ff",interaction22:"#000000",interaction23:"#eaeaea",interaction24:"#eaeaea",interaction25:"#eaeaea",interaction26:"#0000ff",interaction27:"#ffffff",interaction28:"#afafaf",interaction29:"#f9f9f9",interaction30:"#eaeaea",interaction31:"#0000ff",interaction32:"#eaeaea",interaction33:"#f9f9f9",interaction34:"#0000ff",interaction35:"#0000ff",interaction36:"#ffffff",interaction37:"#0000b4",interaction38:"#0000b4",interaction39:"#ffffff",interaction40:"#ffffff",interaction41:"#ffffff",interaction42:"#ffffff",interaction43:"#ffffff",interaction44:"#ffffff",interaction45:"#0000ff",interaction46:"#0000ff",interaction47:"#0000ff",interaction48:"#0000ff",interaction49:"#ffffff",interaction50:"#0000ff",interaction51:"#000000",interaction52:"#0000ff",interaction53:"#000000",interaction54:"#ffffff",interaction55:"#ffffff",text00:"#000000",text01:"#0000ff",text02:"#0000ff",neutralWhite:"#fff",neutral00:"#F9F9F9",neutral01:"#EAEAEA",neutral02:"#AFAFAF",neutral03:"#595959",neutral04:"#272727",overlay:"#fff",shadow01:"0 4px 5px 0 #00000040",shadow02:"0 -2px 4 0 #00000040",background00:"#ffffff",background01:"#ffffff",background02:"#F3F3F3",background03:"#F3F3F3",background04:"#AFAFAF"},kn={body:"Arial",heading:"Arial"},jn=[14,16,18,24,28],Ln={lighter:400,regular:400,heading:700,bold:700},Mn=[0],Bn=["16px","18px","19px","20px","22px","28px","32px"],Un={none:"none",underline:"underline"},Hn=[0,4,8,16,24,36,48,72,96],Gn=["0px","300px","0px"],Fn=["480px","768px","1024px","1300px"],Wn=[0,999999997,999999998,999999999,1e9],Kn=[0,1],zn=["3px","1px","3px","5px"];function Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yn={display:"flex",alignItems:"center",borderRadius:0,":hover":{background:Rn.interaction12},":active":{background:Rn.neutralWhite},svg:{"&:hover":{background:"#EAEAEA"},focusColour:"#EAEAEA","&:not(:first-of-type)":{borderTop:"1px solid #000"}}},qn={control:{borderRadius:Gn[2],borderColor:Rn.interaction09,boxShadow:"none"},option:function(e){for(var t=1;t *":{mb:"2"},"span:first-of-type":{fontSize:"1",lineHeight:"2"}}),Or=p()(yr,{justifyContent:"center",maxWidth:550,mx:"auto"}),Er=p()(Or,{}),Sr=p()(yr,{alignItems:"center",borderRadius:"50%",fontSize:23,minHeight:38,position:"relative",stroke:"neutralWhite"}),Cr=p()(Sr,{}),Tr=p()(yr,{alignItems:"center"}),wr=p()(vr,{height:"calc(100vh - 80px)",justifyContent:"center",alignItems:"center"}),_r=p()(yr,{mt:[30,30,30,55]}),Ir={flexDirection:"column",gap:"2"},xr=p()(yr,{flexDirection:"column"}),Ar=p()(yr,{background:"neutral00",flexDirection:"column",marginTop:[16,16,24]}),Pr=p()(yr,{backgroundColor:"neutral00",paddingTop:17,paddingBottom:23,paddingLeft:45,paddingRight:45,textAlign:"center",marginBottom:15,flexDirection:"column"}),Nr=p()(yr,{alignItems:"center",justifyContent:"space-between"}),Dr={primary:vr,productVariants:hr,selectableListLoading:{alignItems:"center",gap:2,padding:2},introTimed:Or,businessIntroTimed:Er,questionVectorLoadingContainer:Sr,questionVectorLoadingComplete:Cr,loadingTickContainer:Tr,startAgain:wr,productDetailsCondensedContainer:_r,bulkPurchase:Ir,flexControl:Ar,totalWrap:Pr,flexContainer:xr,flexControlHeaderContainer:Nr,contractLengthButtonsContainer:p()(yr,{gap:"2"}),flexModalAndResetButtonContainer:p()(Nr,{}),bulkPurchaseModal:p()(Ir,{}),autoPayControl:p()(yr,{alignItems:"center",mb:32,label:{alignItems:"center",maxWidth:["calc(100vw - 64px)","fit-content"],mr:"3",div:{mr:"3"}}})},Rr={},kr=p()(Rr,{}),jr=p()(Rr,{gridTemplateColumns:"1fr 1fr",mb:4,rowGap:0}),Lr=p()(Rr,{textAlign:"right","div > div > span":{textDecoration:"line-through",color:"neutral03"}}),Mr=p()(Rr,{gridTemplateColumns:["auto","180px 2fr"],mb:"4"}),Br=p()(Mr,{gridTemplateColumns:["auto","3fr 2fr"],"#_15gifts-product-details-accordion-1":{display:["block","none"]}}),Ur=p()(Rr,{gridTemplateColumns:"auto 1fr",gridAutoRows:"min-content"}),Hr=p()(Rr,{gridRowGap:2}),Gr=p()(Rr,{gridGap:0,gridTemplateColumns:["1fr","1fr","1fr 3fr auto"]}),Fr=p()(Rr,{alignItems:"center",columnGap:0,gridTemplateColumns:["repeat(2, 1fr)","repeat(2, 1fr)","repeat(4, 1fr)","repeat(4, 1fr)","repeat(4, 1fr)"],div:{p:3}}),Wr=p()(Rr,{alignItems:"center",columnGap:0,gridTemplateColumns:"3fr 1fr"}),Kr={primary:kr,basketItem:jr,basketItemStrikethrough:Lr,productDetails:Mr,condensedProductDetails:Br,condensedProductDetailsLeftColumn:Ur,condensedDetailsWrapper:Hr,optionsCard:Gr,imageGallery:Fr,startAgain:p()(Rr,{width:300,gridGap:32,textAlign:"center"}),storefront:Wr,resultSimoVectorContainer:p()(Rr,{gridGap:0,gridTemplateColumns:"1fr auto","div:first-of-type":{mt:0}}),exitScreenCTAWrapper:p()(Rr,{gridTemplateColumns:["auto","auto","repeat(3, max-content)"],gridGap:"3"}),flexControlWrap:p()(Rr,{gridTemplateColumns:["21px auto 21px","21px auto 21px","120px auto 120px"],gridTemplateRows:"24px min-content",padding:"8px",justifyContent:"center",backgroundColor:"neutral00",position:"relative",marginBottom:15,gridGap:0}),variantSelectWrapper:p()(Rr,{gridGap:0,gridTemplateColumns:"1fr auto",gridTemplateRows:"auto 1fr",label:{gridColumn:"1/-1"},"&:first-of-type label":{mt:"0"}})},zr={input:{borderRadius:0,"&::placeholder":{color:"text00"}},svg:{stroke:"neutralWhite"},ul:{columnCount:[1,1,2,2,2],pl:2,li:{listStyle:"none",mb:3}}},Vr=p()(zr,{h3:{bg:"primary",color:"neutralWhite",fontSize:"1",lineHeight:"2",p:2}}),Yr=p()(zr,{my:3}),qr={primary:Vr,noResult:p()(zr,{span:{display:"block",fontWeight:"bold",lineHeight:"2"}}),searchWrapper:Yr},Xr={},Qr=p()(Xr,{}),$r={primary:Qr,productDetails:p()(Qr,{maxWidth:180}),sliderAnswers:p()(Qr,{display:["block",null,"inline-block"],margin:"0 auto",minWidth:70,minHeight:70,maxWidth:100,maxHeight:100,width:[null,null,"auto"],position:[null,null,"relative"],float:[null,null,"left"],top:[null,null,-2]}),fullWidthIncOffers:p()(Xr,{width:44,height:44}),simoImage:p()(Xr,{display:["none","none","block"],height:112,mb:3,ml:"2",width:82}),exitScreenImage:p()(Qr,{maxHeight:[155,155,185],mb:32,maxWidth:150})},Jr=p()({display:"inline"},{fontSize:"1",lineHeight:"2"}),Zr={primary:Jr,featureSuffix:p()(Jr,{marginLeft:"1"}),featureUnit:p()(Jr,{}),featureValue:p()(Jr,{}),summaryDetails:p()(Jr,{fontSize:"1",lineHeight:"2"})},eo={primary:p()({},{borderBottom:"1px solid",borderBottomColor:"primary",minHeight:500,maxWidth:1232,mx:"auto",position:"relative"})},to={"&:focus-visible":{outline:"1px dashed",outlineOffset:"5px",outlineColor:"interaction16"},height:"48px",p:"2",fontSize:"1",fontWeight:"lighter",fontFamily:"body",lineHeight:"2",color:"interaction09",borderColor:"neutralBlack"},no=p()(to,{borderColor:"interaction07"}),ro=p()(no,{}),oo=p()(to,{borderColor:"accent01"}),io=p()(no,{borderColor:"neutral-04"}),ao={primary:{},bulkPurchase:to,bulkPurchaseInput:no,bulkPurchaseInputSelected:ro,bulkPurchaseError:oo,bulkPurchaseModalInput:io,bulkPurchaseModalInputSelected:p()(io,{}),bulkPurchaseModalError:p()(oo,io)},co={alignItems:"center",cursor:"pointer",fontFamily:"body"},lo=p()(co,{fontSize:"3",fontWeight:"bold",img:{maxHeight:42},span:{px:"2",py:"1"}}),uo=p()(lo,{position:"relative",bg:"interaction49",borderColor:"interaction51",borderStyle:"solid",borderWidth:"0",color:"interaction46",p:12,justifyContent:"center",fontSize:"2",lineHeight:"3",fontWeight:"regular",svg:{display:"none !important"},span:{p:"0",m:"0"},":hover":{color:"interaction48",borderColor:"interaction53",bg:"interaction55"},b:{color:"inherit"},'input[type="radio"]':{cursor:"pointer",appearance:"none",background:"transparent",height:"100%",inset:0,margin:0,opacity:1,overflow:"hidden",padding:0,position:"absolute",width:"100%",zIndex:0,MozAppearance:"none",WebkitAppearance:"none","&:focus-visible":{borderRadius:15,boxShadow:"none !important",outline:"3px solid",outlineColor:"interaction16",outlineOffset:"3px"}}}),so=p()(uo,{bg:"interaction44",color:"interaction45",borderColor:"interaction50",":hover":{color:"interaction47",borderColor:"interaction52",bg:"interaction54"}}),fo=p()(co,{fontSize:"1",mb:1,mt:2,p:0}),po=p()(lo,{svg:{border:"none"}}),go={fontFamily:"body",fontWeight:"bold",fontSize:"1",lineHeight:"1"},mo={primary:lo,bulkPurchase:go,bulkPurchaseModal:go,checkbox:p()(lo,{img:{}}),productVariants:fo,radio:po,radioCards:uo,radioCardsSelected:so},bo={},yo=p()(bo,{}),vo=p()(yo,{mb:"3"," > span":{fontSize:"1",lineHeight:"2",fontFamily:"body","&:first-of-type":{display:"block"}},"> div":{display:" inline-block"}}),ho=p()(bo,{}),Oo=p()(bo,{}),Eo=p()(bo,{"> span":{fontSize:"1",lineHeight:"2",color:"text00"}}),So=p()(yo,{}),Co=p()(yo,{}),To={primary:yo,productOption:{mb:[0,0,3],textAlign:["left","left","right"]},dataCalculator:{mb:11,mt:"3",textAlign:["center","right"],color:"text00",fontFamily:"body",fontSize:"1",lineHeight:"2",display:"flex",flexDirection:["column","row"],justifyContent:"flex-end",alignItems:"center",span:{fontSize:"1",lineHeight:"2"}},discounts:vo,columnCard:p()(yo,{textAlign:["left","right"]}),summary:ho,basketItem:Oo,basketTotal:Eo,fixedBasket:So,flex:Co},wo={fontSize:"1",lineHeight:"2",color:"accent08"},_o={primary:p()(wo,{}),nav:p()(wo,{color:"text00",textDecoration:"none"}),listLinks:{color:"text00",fontSize:"0",lineHeight:"1",textDecoration:"underline",":hover":{textDecoration:"underline"}}},Io={my:3},xo=p()(Io,{fontSize:"2","> div":{},h4:{mb:3}}),Ao=p()(Io,{}),Po=p()(xo,{my:0,button:{display:"flex",justifyContent:"center"}}),No=p()(Po,{gridArea:"main"}),Do={primary:xo,iconList:Ao,columnCard:Po,columnCardFeatured:No,columnCardFeaturedComplete:p()(No,{}),columnCardFeaturedValue:p()(No,{}),columnCardExtras:p()(Po,{display:"grid",gridTemplateColumns:["inherit","1fr 1fr"],gridGap:"12px 16px",mt:"3"}),productSubscription:p()(xo,{svg:{height:16,stroke:"text00",width:20}})},Ro={},ko=p()(Ro,{mb:"3","> div":{alignItems:"center"},"&:last-of-type":{mb:"0"},"svg, img, span":{mr:2}}),jo=p()(ko,{px:"1",py:"3",mb:"0",alignItems:"center",borderTop:"1px solid",borderColor:"neutral01","&:last-of-type":{borderBottom:"1px solid",borderColor:"neutral01"},"> div":{flexDirection:"row-reverse",justifyContent:"flex-end",fontSize:"1",lineHeight:"2"}}),Lo=p()(jo,{}),Mo=p()(ko,{span:{maxWidth:"calc(100% - 36px)",fontSize:"1",lineHeight:"2",fontFamily:"body",color:"text00"}}),Bo=p()(ko,{fontFamily:"body",fontSize:"1",lineHeight:"2",color:"text00",span:{display:"list-item",ml:3}}),Uo=p()(Bo,{mb:"12px"}),Ho=p()(Uo,{}),Go=p()(Uo,{}),Fo=p()(Uo,{}),Wo=p()(Bo,{}),Ko=p()(Uo,{}),zo=p()(Ko,{}),Vo=p()(Uo,{}),Yo={primary:ko,iconList:jo,iconListWithIcon:Lo,productSubscription:Mo,columnCardFeatured:Uo,columnCardFeaturedWithIcon:Ho,columnCardFeaturedWithToggletip:Go,columnCardFeaturedComplete:Ko,columnCardFeaturedCompleteWithIcon:zo,columnCardFeaturedValue:Vo,columnCardFeaturedValueWithIcon:p()(Vo,{}),columnCardExtrasWithToggletip:Fo,columnCardExtras:Wo,columnCard:Bo,questionVector:p()(Ro,{borderTop:"1px solid",borderColor:"neutral02",px:"1",py:12,"&:last-of-type":{borderBottom:"1px solid",borderColor:"neutral02"}})},qo={flexDirection:"column",alignItems:"flex-start",gap:"2"},Xo={primary:p()(qo,{borderRadius:"2",p:"16px 24px",bg:"background02"}),linksContainer:p()(qo,{mt:"2"})},Qo={primary:p()({position:"fixed",top:"0",left:"0",width:"100%",height:"100vh",background:"background00",zIndex:999999},{display:"flex",flexDirection:"column",justifyContent:"center",px:5,rowGap:5,header:{p:{mt:3}}})},$o={primary:p()({normal:{m:["4",0],"> header":{bg:"primary",display:"flex",justifyContent:"space-between",borderTopLeftRadius:2,borderTopRightRadius:2,mb:3,p:3},header:{ml:"-16px",mr:"-16px",mt:"-16px"},h2:{color:"neutralWhite"}}},{normal:{border:"1px solid",borderRadius:2,borderColor:"neutral02",padding:"3"}}),termsAndConditions:{}},Jo={primary:p()({},{display:["flex","flex","flex","none"],flexDirection:"column",border:"1px solid",borderColor:["neutral01","neutral01","transparent","transparent"],mb:"4",mt:[0,0,0,"2"]})},Zo={background:{alignItems:"center",backgroundColor:"color-mix(in srgb, ".concat(Rn.background04," 50%, transparent)"),bottom:0,display:"flex",flexDirection:"column",height:"auto",justifyContent:"center",top:0,left:0,margin:0,minHeight:"100%",overflowY:"scroll",position:"fixed",WebkitTransform:"translate3d(0, 0, 0)",width:"100%",zIndex:9999999999}},ei={bg:"neutralWhite",padding:3},ti=p()(ei,{position:"relative",width:[256,360],borderRadius:2,gridRowGap:"2",span:{display:"block",lineHeight:"2"},buttonContainer:{justifyContent:"space-between",flexDirection:"column",gap:"3",pt:"2","> button":{fontSize:"1",lineHeight:"1"}}}),ni=p()(ti,{height:"100%",maxHeight:"80%",maxWidth:["80%",600],width:"100%"}),ri=p()(ti,{maxWidth:["90%",752],width:"100%"}),oi=p()(ni,{}),ii=p()(ti,{}),ai=p()(ti,{}),ci=p()(ei,{position:"fixed",gridRowGap:3,border:"3px solid",borderColor:"primary",buttonContainer:{justifyContent:"space-between","> button":{flex:"45%",mr:3,"&:last-child":{mr:0}}}}),li=p()(ti,{display:[null,"flex"],flexDirection:"column",left:0,right:0,marginLeft:"auto",marginRight:"auto",width:"calc(100% - 32px)",overflowY:"scroll",padding:24,gridGap:24,p:{fontSize:"1",lineHeight:"4",mb:24,":last-child":{mb:0}},buttonContainer:{pt:0,justifyContent:"flex-end",flexDirection:"row","> button":{fontSize:"2",lineHeight:"3"}},closeButtonContainer:{position:"absolute",top:"3",right:24}}),ui=p()(li,{}),si=p()(li,{}),di=p()(ti,{}),fi={primary:ti,extrasDetails:ii,open:ai,overlayEngagement:ci,whatsNotIncluded:ui,loginOffer:si,flexModal:di,flexPayInFullModal:p()(di,{}),flexPayModal:p()(di,{}),medium:ni,termsAndConditions:oi,protectionTerms:li,declineModal:p()(ri,{}),large:ri,offerDetails:p()(ti,{}),offerDetailsIframe:p()(ti,{}),ineligiblePlanModal:p()(ti,{}),addMoreLinesModal:p()(ti,{}),addonDetailsModal:p()(ri,{})},pi={primary:p()({},{borderBottom:"1px solid",borderBottomColor:"neutral01"}),container:{justifyContent:"space-between",py:"2",alignItems:"center",px:["2","12px"],"> div:first-of-type":{gap:"4"},"> div:last-of-type":{alignItems:"center"}},kebabMenu:{}},gi=p()({flexDirection:"row"},{alignItems:"center",backgroundColor:"accent00",color:"accent07",fontSize:"1",lineHeight:"1",fontWeight:"bold",p:"2",px:"4",columnGap:"2","svg, img, span":{marginRight:2}}),mi=p()(gi,{flexWrap:"wrap",justifyContent:"center",rowGap:"2",span:{mr:0}}),bi=p()(gi,{textAlign:"center",padding:2,justifyContent:"center",flexWrap:"wrap",borderRadius:"2",rowGap:"2"}),yi=p()(bi,{bg:"neutralWhite",color:"text01"}),vi=p()(yi,{fontSize:"1",lineHeight:"2",color:"text00"}),hi=p()(gi,{px:"3"}),Oi={primary:gi,basketItem:mi,column:hi,columnSelected:p()(hi,{}),productDetails:bi,radioCards:p()(gi,{mt:"3",px:12,fontSize:"1",lineHeight:"4"}),retailPrice:yi,retailPriceCondensed:vi},Ei={button:{mt:2},"input[type=checkbox]":{"+ div":{backgroundColor:"neutral01"},":checked + div":{backgroundColor:"interaction11"}}},Si=p()(Ei,{alignItems:"center",bg:"accent09",display:"flex",px:3,py:2,"> span":{color:"text",fontFamily:"heading",fontSize:"1",lineHeight:"1",fontWeight:"heading",mr:14}}),Ci=p()(Ei,{flexDirection:"row",label:{":has(input:focus-visible)":{backgroundColor:"transparent",outline:"3px solid",outlineColor:"interaction16"},span:{display:"none"}},bodyWrapper:{pl:[0,48],gridColumn:["1 / 3","2 / 3"]}}),Ti={banner:Si,primary:Ci,portrait:p()(Ei,{display:"flex",flexDirection:"column",gridRowStart:[1,"auto"],minHeight:96,ml:[3,4],mb:[3,0]}),control:{gridRowStart:[1,"auto"],ml:"auto"},pillWrapper:p()(Ei,{pl:[0,40]}),pill:p()(Ei,{fontSize:"1",lineHeight:"1",border:"1px solid",borderColor:"interaction34",color:"interaction34",fontWeight:"bold",fontFamily:"heading",ml:"auto",padding:2,width:"max-content"}),mediaResultContainer:p()(Ci,{"div:nth-of-type(2)":{position:"relative","&:before":{content:"''",background:"neutral02",position:"absolute",top:0,left:0,height:"75%",maxHeight:200,width:[0,0,1,1,1]}},ul:{borderTop:["1px solid","1px solid","none","none","none"],borderColor:"neutral02"},"> div":{gridColumnGap:0,gridRowGap:0}}),extrasList:p()(Ci,{position:"relative",mb:[6,32],"&:first-of-type":{mt:[10,14]},"&:last-of-type":{mb:[0,24]},"> div":{gridColumnGap:0},innerWrapper:{display:["unset","unset","flex"]}})},wi={},_i={primary:p()(wi,{}),overlay:p()(wi,{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",bg:"overlay"})},Ii={},xi=p()(Ii,{fontSize:"1",lineHeight:"2"}),Ai=p()(Ii,{fontSize:0,lineHeight:0}),Pi=p()(xi,{}),Ni=p()(Ii,{mb:"4",mt:"3",span:{fontFamily:"heading",fontWeight:"bold",fontSize:"2",lineHeight:"3","&:first-of-type":{color:"text02"}}}),Di=p()(xi,{}),Ri={primary:xi,priceTotalLegalCopy:Ai,heroVector:Pi,radioCards:p()(Ii,{fontSize:"2",lineHeight:"1",fontWeight:"heading",color:"text00"}),match:Ni,productDetailsOverline:Di},ki=p()({bg:"neutralWhite",p:3,position:"fixed",transition:".2s left linear",zIndex:99999,transitionProperty:"left,right,margin-top",transitionDuration:".3s",opacity:1,borderRadius:"2",button:{"&:last-of-type":{marginLeft:"auto"}},arrow:{position:"absolute",transform:"rotate(45deg)"},"div:first-of-type":{bg:"neutralWhite"}},{bg:"neutralWhite",filter:"drop-shadow(0 0 10px rgba(0, 0, 0, 25%))",gridRowGap:3,arrow:{bg:"neutralWhite",borderWidth:"3px",height:38,width:38},buttonContainer:{justifyContent:"space-between","> button":{flex:"45%",mr:3,"&:last-of-type":{mr:0}}},textArea:{height:130}}),ji={primary:ki,primaryMobile:p()(ki,{left:0,maxWidth:"100vw",width:"100%"}),survey:p()(ki,{})},Li={span:{fontWeight:"bold",color:"text00"}},Mi=p()(Li,{span:{fontFamily:"heading",fontSize:"3",lineHeight:"3"}}),Bi=p()(Li,{span:{fontFamily:"heading",fontSize:"0",lineHeight:"0"}}),Ui=p()(Li,{span:{fontFamily:"heading",fontSize:"1",lineHeight:"1"}}),Hi=p()(Li,{span:{fontFamily:"heading",fontSize:"4",lineHeight:"3"}}),Gi=p()(Ui,{}),Fi=p()(Ui,{}),Wi=p()(Hi,{}),Ki=p()(Mi,{}),zi=p()(Mi,{}),Vi=p()(Mi,{}),Yi=p()(Mi,{marginRight:3,span:{fontSize:"1",lineHeight:"1"}}),qi=p()(Mi,{}),Xi=p()(Mi,{span:{textDecoration:"line-through",color:"text01",fontFamily:"heading",fontWeight:"heading"}}),Qi=p()(Li,{span:{fontSize:"1",lineHeight:"3",fontWeight:"regular"},textAlign:"right"}),$i=p()(Qi,{}),Ji={primary:Mi,secondary:Bi,tertiary:Ui,quaternary:Hi,strikethrough:Xi,fixedBasket:Yi,priceTotal:Vi,productOption:qi,summary:Gi,columnCard:Ki,basketItem:Fi,radioGroupCard:Qi,flex:zi,dataCalculator:p()(Li,{span:{fontSize:"5",lineHeight:"4",fontFamily:"heading"}}),discounts:p()(Mi,{mt:"1",span:{color:"text00",fontFamily:"heading",fontWeight:"heading",fontSize:"0",lineHeight:"3"},"+ span":{color:"text00",fontFamily:"heading",fontWeight:"heading",fontSize:"0",lineHeight:"3"}}),basketTotal:Wi,radioCards:$i},Zi=p()({flexWrap:"wrap",h4:{flex:"1 100%"}},{"> div:first-of-type":{justifyContent:"space-between",mb:3},h4:{lineHeight:"2",mb:3}}),ea={primary:Zi,columnCard:p()(Zi,{textAlign:"right","> div:first-of-type":{justifyContent:"end"},"> div > div":{mb:2},priceWrapper:{'[data-variant="component.price.strikethrough"]':{textAlign:["left","right"]}}}),basketTotal:p()(Zi,{})},ta=n.p+"4cd16c7fb0ee2abf90388da3c2316283.svg",na=p()({},{ul:{my:2,listStyle:"none",pl:[0,0,2,2,2],li:{pl:1,py:[1,1,3,3,3],"&::before":{bg:"text00",content:"' '",display:"inline-block",height:16,margin:"auto",pr:3,verticalAlign:"middle",width:20,MaskImage:"url(".concat(ta,")"),MaskRepeat:"no-repeat",WebkitMaskImage:"url(".concat(ta,")"),WebkitMaskRepeat:"no-repeat"}}},h3:{mb:2,span:{display:"block",fontSize:"inherit",lineHeight:"inherit",fontFamily:"heading",fontWeight:"heading"},"> span:nth-of-type(2)":{fontSize:"1",lineHeight:"1"}},button:{width:["100%","auto"]}}),ra=p()(na,{display:"grid",gridTemplateColumns:["1fr","1fr 1fr"],h3:{gridColumn:" 1/-1",alignItems:["flex-start","center"]},p:{":first-of-type":{borderBottom:"1px solid",borderColor:"neutral02",gridColumn:" 1/-1"}}}),oa=p()(ra,{}),ia={primary:na,productCardStatus:{color:"accent03"},optionList:ra,mediaResultContainer:oa,mediaResultContainertalk:p()(oa,{}),extrasList:p()(na,{})},aa={},ca={primary:p()(aa,{h2:{mb:4,textAlign:["center","left"]}}),boxedIncOffers:{flexDirection:"column",p:"3",minHeight:"258px",height:"100%",width:"202px",bg:"accent02",border:"2px solid",borderColor:"neutralBlack",borderRadius:"2",gap:"3"},carouselBannerWrapper:{mb:"32px"},carouselIndividualWrapper:{mb:"32px"},fullWidthIncOffers:{flexDirection:"column",ml:"2"},contentWrapper:p()(aa,{order:0,span:{border:"none",color:"accent08",fontSize:"1",lineHeight:"1",marginTop:0,mx:"auto",my:12,py:"0",width:131}}),imageWrapper:p()(aa,{position:"relative",textAlign:["center","left"]})};function la(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){for(var t=1;t div":{display:"flex",justifyContent:"right"},position:"relative",'[type="checkbox"] + svg':{display:"none"},width:24,height:24,":after":{borderRadius:"8px",border:"2px solid",background:"interaction20",borderColor:"neutral02",position:"absolute",transform:"translate(-50%, -50%)",width:24,height:24,content:"' '",right:-12,top:12}},pa=p()(fa,{'[type="checkbox"]:checked + svg':{display:"none"},":after":{backgroundImage:"url(".concat(pn,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",borderColor:"interaction18",backgroundColor:"interaction18"}}),ga=p()({my:3,img:{mb:3,mr:3},ul:{listStyle:"none",p:0,mb:0,li:{fontFamily:"body",fontSize:"1",lineHeight:"1",pb:"12px",mb:0}}},{h3:{mb:2},wrapper:da,rightColumn:{"> div":{flexDirection:["row","row","column","column","column"],height:"100%",justifyContent:"space-between"}},tickContainer:fa,tickContainerSelected:pa}),ma={primary:ga,addOn:p()(ga,{wrapper:sa(ua({},da),{gridTemplateColumns:["auto","auto","3fr 1fr"]})}),carousel:p()(ga,{wrapper:sa(ua({},da),{minHeight:"100%"}),rightColumn:{"> div":{flexDirection:"column",justifyContent:"flex-end"}}})},ba={position:"relative"},ya={primary:p()(ba,{}),buttonWrapper:{button:{mb:3,ml:"auto"}},legalText:{fontSize:"0",lineHeight:"0",mt:3},planCentric:p()(ba,{})},va={primary:p()({},{svg:{width:24,height:24},"& label":{fontSize:"1",lineHeight:"1",fontWeight:700}})},ha={primary:p()({alignItems:"center",span:{paddingRight:36,display:["none","block"],fontFamily:"body",fontSize:"1",lineHeight:"2"},progress:{color:"accent04",bg:"neutral01"}},{})},Oa={cursor:"pointer","input:focus ~ &":{backgroundColor:"transparent"},"input:focus-visible ~ &":{backgroundColor:"transparent",outline:"3px solid",outlineColor:"interaction16"}},Ea={primary:p()(Oa,{}),columnCard:p()(Oa,{gridArea:"radio","input:focus ~ &":{outline:"3px solid",outlineColor:"interaction16"}}),survey:p()(Oa,{}),answerInput:p()(Oa,{visibility:"hidden"})},Sa=p()({fieldset:{border:"none",position:"relative"}},{}),Ca={banner:{display:"block",position:"absolute",top:-20,width:"100%",height:"40px",padding:"2px",borderRadius:"15px 15px 0 0",bg:"interaction55",fontWeight:"bold",fontSize:"0",lineHeight:"0",textAlign:"center"},itemContainer:{position:"relative"},primary:Sa,survey:p()(Sa,{label:{cursor:"pointer"},fieldset:{alignItems:"start",justifyContent:"space-between",mb:62,mx:0,p:0,legend:{mb:3},display:"grid",gridTemplateColumns:"repeat(7, 1fr)",label:{alignItems:"center",flexDirection:"column",svg:{mb:2,mr:0}},div:{color:"text00",fontFamily:"body",fontWeight:"lighter",":first-of-type":{label:{div:{":last-of-type":{marginTop:70,display:"block",position:"absolute",left:0,textAlign:"left",width:100}}}},":last-of-type":{label:{div:{":last-of-type":{marginTop:70,display:"block",position:"absolute",right:0,textAlign:"right",width:100}}}},label:{position:"relative",fontFamily:"body",fontWeight:"lighter",div:{":last-of-type":{display:"none"}}}}}}),radioCards:p()(Sa,{fieldset:{display:"grid",gridGap:2,gridTemplateColumns:["repeat(2, 1fr)","repeat(4, 1fr)"],mb:3,mx:0,p:0,legend:{mb:2,display:"flex",gridGap:"6px"}}})},Ta={},wa={primary:p()(Ta,{}),headerWrapper:p()(Ta,{mb:"2",flexDirection:["column-reverse","row-reverse"],justifyContent:"space-between"}),pricesAndLabelWrapper:p()(Ta,{flexDirection:"column",alignItems:"flex-end"}),pricesWrapper:p()(Ta,{alignItems:"flex-end",gridGap:"2",div:{"&:first-of-type":{span:{color:"primary",fontWeight:"regular",lineHeight:"1",fontSize:"0"}}}})},_a={primary:p()({},{p:[0,"6"],splitView:{gridTemplateColumns:["1fr","1fr","1fr","3fr 1fr"],gridColumnGap:"6"},header:{h1:{color:"text00",mb:[0,24]}}})},Ia={primary:p()({borderRadius:0},{height:"44px",py:"10px",px:"2",fontSize:"2",lineHeight:"2",fontFamily:"body"})},xa={border:"1px solid",borderColor:"interaction09",padding:"0","&:empty":{border:"none"},'[role="option"]':{color:"text00",fontFamily:"body",fontWeight:"regular",fontSize:1,borderTop:"1px solid",borderColor:"interaction09",cursor:"pointer",height:44,px:2,py:"10px",display:"flex",alignItems:"center","&:hover":{bg:"interaction12",borderLeft:"6px solid",borderLeftColor:"interaction08"},'&[aria-selected="true"]':{borderLeft:"6px solid",borderLeftColor:"interaction10"},"&:first-of-type":{borderTop:"none"}}},Aa={primary:p()(xa,{}),typeahead:p()(xa,{width:["100%",472],maxHeight:181,overflowY:"auto",bg:"neutralWhite"})},Pa={bg:"rgba(255,255,255, 0.95)",flexDirection:"column-reverse",justifyContent:"center",height:"100vh",left:0,position:"absolute",px:[32,104],top:0,transition:"opacity 0s ease-in",width:"100%",zIndex:999999999,"> div":{position:"relative"}},Na=p()(Pa,{}),Da=p()(Pa,{height:"100%"}),Ra=p()(Da,{}),ka={primary:Na,inPageRecommendation:p()(Pa,{height:450,justifyContent:"flex-start",pb:50,top:25}),minimise:Da,inpage:Ra},ja={primary:p()({},{div:{height:"44px",gridGap:"2",px:"2",py:10,alignItems:"center",display:"flex",borderBottom:"1px solid",borderColor:"interaction09"},span:{fontSize:"1",lineHeight:"2"},svg:{border:"1px solid",borderColor:"neutral02",borderRadius:"50%"}})},La=(0,a.keyframes)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Ma={},Ba={primary:Ma,standalone:p()(Ma,{}),spinning:p()({},{animation:"spin 0.75s linear infinite",animationName:La,transformOrigin:"center",display:"inline-block"})},Ua={width:"1em",height:"1em"},Ha=p()(Ua,{fontSize:32}),Ga=p()(Ha,{display:"flex",justifyContent:"center",width:"100%"}),Fa=p()(Ga,{alignItems:"center",fontSize:32,height:"100%",minHeight:"300px"}),Wa=(0,a.keyframes)({"0%":{opacity:1},"100%":{opacity:.1}}),Ka={display:"inline-block",svg:{color:"primary",width:"1em",height:"1em"},use:{animation:"".concat(Wa," 1s infinite ease"),"&:nth-of-type(1)":{animationDelay:"-0.917s"},"&:nth-of-type(2)":{animationDelay:"-0.833s"},"&:nth-of-type(3)":{animationDelay:"-0.75s"},"&:nth-of-type(4)":{animationDelay:"-0.667s"},"&:nth-of-type(5)":{animationDelay:"-0.584s"},"&:nth-of-type(6)":{animationDelay:"-0.50s"},"&:nth-of-type(7)":{animationDelay:"-0.417s"},"&:nth-of-type(8)":{animationDelay:"-0.334s"},"&:nth-of-type(9)":{animationDelay:"-0.25s"},"&:nth-of-type(10)":{animationDelay:"-0.167s"},"&:nth-of-type(11)":{animationDelay:"-0.084s"},"&:nth-of-type(12)":{animationDelay:"0s"}}},za=p()(Ua,{fontSize:32,marginBottom:36}),Va=p()(Ua,{}),Ya=p()(Fa,{}),qa=p()(Ga,{marginTop:"34px"}),Xa=p()(Ga,{fontSize:32}),Qa=p()(Ua,{position:"absolute",fontSize:14,top:"50%",right:10,transform:"translateY(-50%)"}),$a=p()(Ua,{}),Ja=p()(Ha,{}),Za=p()(Ga,{top:"10%",left:"50%",position:"absolute",transform:"translate(-50%, -50%)"}),ec=p()(Ha,{alignItems:"center",display:"flex",height:"100%",justifyContent:"center",position:"absolute",width:"100%"}),tc=p()(Ua,{left:"50%",position:"absolute",top:"50%",transform:"translate(-50%, -50%)"}),nc={primary:Ha,vectors:Ja,spinCircle:{borderStyle:"solid",borderColor:"primary",borderTop:"solid currentColor",borderWidth:"0.12em",borderRadius:"50%",color:"transparent",width:"1em",height:"1em"},spokes:Ka,startAgain:Xa,standalone:Fa,introScreen:qa,shieldLoading:za,loadingScreen:Va,typeaheadSpinner:Qa,selectableListSpinner:$a,noHeaderLoadingScreen:Ya,productSubscription:Za,productDetailsImage:ec,radioGroupCard:tc,flex:p()(tc,{}),productVariants:p()(Ga,{})},rc={primary:p()({position:"sticky"},{top:"6"})},oc={img:{width:"100%",heighjt:"auto"}},ic={primary:p()(oc,{}),textWrapper:p()(oc,{p:3,textAlign:"right"})},ac={fontSize:"1",lineHeight:"2"},cc=p()(ac,{gridRowGap:2,borderTop:"1px solid",borderColor:"neutral02",pt:3,h4:{display:"flex",justifyContent:"space-between"}}),lc=p()(ac,{span:{display:"block"}}),uc={primary:cc,costsContainer:p()(ac,{}),imageWrapper:p()(ac,{marginTop:2,maxWidth:45}),detailsContainer:lc};function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){for(var t=1;t div:last-of-type":{textAlign:"center","> *":{transition:"opacity 3s",position:"relative"}}},{})},il={},al=p()(il,{}),cl=p()(il,{position:"absolute",overflow:"visible"}),ll=p()(cl,{}),ul=p()(il,{backgroundSize:"cover",backgroundImage:"linear-gradient(#eee, #eef)"}),sl={primary:al,tileAnimationContainer:cl,tileAnimationContainerHighlight:ll,animationBox:ul,animationBoxHighlight:p()(ul,{})},dl=n.p+"c368746d677ee6da73b96575820aaa88.svg",fl={},pl=p()(fl,{button:{color:"transparent",padding:0,height:24,width:24,backgroundColor:"secondary",maskImage:"url(".concat(dl,")"),WebkitMaskImage:"url(".concat(dl,")")}}),gl={primary:pl,listItem:p()(fl,{}),variantNotice:p()(pl,{})},ml=p()({position:"relative",zIndex:"3"},{maxWidth:["75vw",320],bg:"neutralWhite",filter:"drop-shadow(0 0 10px rgba(0, 0, 0, 25%))",willChange:"filter",p:"3",fontSize:"2",fontWeight:"regular",color:"text00",borderRadius:2,arrow:{height:38,width:38,bg:"neutralWhite"},h3:{mb:"2"}}),bl={accordion:b,additionalInformation:E,alert:C,answerInput:I,spin:Ba,basket:x,basketItem:P,box:ve,breadcrumbs:Oe,bundlePage:Ee,button:zt,card:en,carousel:sn,closeButton:fn,columnCard:_n,copyButton:In,counter:Dn,countdown:An,customSelect:Qn,customSlider:ar,extraList:cr,fadeIn:lr,feature:fr,fixedBasket:br,flex:Dr,grid:Kr,groupedList:qr,image:$r,inlineText:Zr,inPage:eo,input:ao,labelComponent:mo,labelledPrice:To,link:_o,list:Do,listItem:Yo,listLinks:Xo,loadingScreen:Qo,mobileNav:Jo,modal:Zo,modalContent:fi,mediaResultContainer:$o,navbar:pi,optionsCard:Ti,offer:Oi,overlayEngagement:_i,paragraph:Ri,popupBubble:ji,price:Ji,priceTotal:ea,productCard:ia,productDetails:ca,productOption:ma,productSubscription:ya,productVariants:va,progressBar:ha,radioButton:Ea,radioGroup:Ca,radioGroupCard:wa,resultTemplate:_a,select:Ia,selectableList:Aa,shield:ka,singleOption:ja,spinner:nc,stickyBox:rc,storefront:ic,summary:uc,switchAtom:vc,table:hc,tabs:Oc,text:rl,tiles:sl,tileAnimation:ol,toggletip:gl,tooltip:{primary:ml,smartBudget:p()(ml,{minWidth:"230px",bg:"transparent",borderColor:"transparent",borderWidth:0,borderStyle:"none",lineHeight:"3",textAlign:"left",paddingTop:0,span:{span:{":first-of-type":{display:"block",fontFamily:"heading",fontWeight:"heading"}}}}),smartBudgetMobile:p()(ml,{minWidth:200,span:{span:{":first-of-type":{display:"block",fontFamily:"heading",fontWeight:"heading"}}}}),offer:p()(ml,{}),optionsCard:p()(ml,{}),variantNotice:p()(ml,{minWidth:150})},typeahead:{primary:p()({mb:2,input:{fontFamily:"body",bg:"neutralWhite",color:"text00",borderColor:"interaction09",fontWeight:"regular",borderRadius:0,fontSize:1,height:44,py:"10px","&:focus-visible":{outline:"none"}},"& label":{fontFamily:"body",color:"text00",fontWeight:"regular",fontSize:1,mb:2},"> div > div":{position:"relative"},"div + span":{fontFamily:"body",color:"accent01",fontSize:2,mt:1},'[role="listbox"]':{borderTop:"none"}},{})}};function yl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vl=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}(function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:"error",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"15giftsLogLevel";try{e&&localStorage&&localStorage.setItem(r,e),t=localStorage&&localStorage.getItem(r)}catch(e){console.warn(e)}return(e||t||n).toLowerCase()}((0,i.c)()[o.ai.LOG_LEVEL]),y=m.methodFactory;m.methodFactory=function(e){var t=e.externalLog,n=void 0===t?c:t,r=e.factory,o=e.level,i=void 0===o?"error":o;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"error",t=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return function(){for(var a=arguments.length,c=new Array(a),l=0;l=d[i]&&r&&r(e,t,o).apply(void 0,[p].concat(u(c))),d[e]>=f&&n.apply(void 0,u(c))}}}({factory:y,level:b}),m.setLevel("debug"),console.log("[15G] Logging level is set to ".concat(b));var v=m},4848:function(e,t,n){"use strict";var r=n(1504),o=n(1712),i=n(3268),a=n.n(i),c=function(e){var t=e.children,n=e.fallback,i=void 0===n?(0,o.jsx)("span",{css:[{margin:0,padding:0}]}):n;return(0,o.jsx)(r.Suspense,{fallback:i},t)};c.propTypes={children:a().node,fallback:a().node},t.c=c},9816:function(e,t,n){"use strict";var r=n(1504),o=n(9072);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t){return t?function(){var n,a,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.createElement(o.c,(n=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{}}}}},684:function(e,t,n){"use strict";n.d(t,{Ab:function(){return r},Y9:function(){return i},oL:function(){return o}});var r=function(){return!!navigator.userAgent.match(/Firefox\/(\S+)/)},o=function(){return!!navigator.userAgent.match(/iPad/i)},i=function(){return!!navigator.userAgent.match(/iPhone/i)}},9452:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(8e3);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(Array.isArray(e)){var n=[];return e.forEach((function(e){Array.isArray(e)?n.push(o(e,t)):"object"==typeof e&&null!==e?n.push((0,r.c)(e,t)):t.includes(e)||n.push(e)})),n}return e}},8e3:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(9452);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:[];if("object"==typeof e&&!Array.isArray(e)){var n={};return Object.entries(e).forEach((function(e){var a,c,l=(c=2,function(e){if(Array.isArray(e))return e}(a=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(a,c)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(a,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],s=l[1];t.includes(s)||("object"==typeof s?Array.isArray(s)?n[u]=(0,r.c)(s,t):n[u]=i(s,t):n[u]=s)})),n}return e}},6444:function(e,t,n){"use strict";n.d(t,{C:function(){return o},o:function(){return r}});var r=function(e){return e.includes("#")&&!e.includes(".")},o=function(e){return e.replace("#","")||e}},4632:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:a.after;return function(t,n){if("string"!=typeof t||i(t,Object)||l(t)||l(n)){var c=function(e){if(l(e))return e;var t=e,n=0;if(i(e,Object)){if(!e.selector||"string"!=typeof e.selector)return r.c.warn("Cannot insert into this DOM Location"),null;t=e.selector,n=e.index||0}return(0,o.o)(t)?document.getElementById((0,o.C)(t)):document.querySelectorAll(t)[n]}(t);if(!c)return r.c.warn("Cannot insert into this DOM Location"),new Error("Cannot insert into this DOM Location");var u=c.parentNode;switch(e){case a.after:u.insertBefore(n,c.nextSibling);break;case a.before:u.insertBefore(n,c);break;case a.start:c.insertBefore(n,c.childNodes[0]);break;case a.end:c.appendChild(n);break;case a.replace:c.parentElement.replaceChild(n,c);break;default:u.insertBefore(n,c.nextSibling)}}else r.c.warn("Cannot insert into this DOM Location")}}function l(e){return i(e,Node)&&1===e.nodeType}t.cp={createElement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"_15gifts-".concat(String(Math.random()).replace(".","")),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=document.createElement("div");if(e){var r=document.getElementById(e);if(r)return r;n.id=e}return t&&(n.className=t),n},insertionMethods:a,insertAfter:c(a.after),insertBefore:c(a.before),insertAtStart:c(a.start),insertAtEnd:c(a.end),insertReplace:c(a.replace),insert:c}},4860:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(5088);function o(e){var t=e.target.closest("[data-href]");if(null!==t){var n=t.getAttribute("data-href");try{n&&window.open(n,"_blank")}catch(e){(0,r.c)("Could not find target to open in new window",e)}}}},7176:function(e,t){"use strict";t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e&&e.filter((function(e){return!!e.active||e.isActive}))||{}}},8168:function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[]).findIndex((function(e){return!!e.active}));return e>0?e:0}},5048:function(e,t){"use strict";t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e&&e.find((function(e){return!!e.active||e.isActive}))||{}}},4828:function(e,t){"use strict";t.c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=n||{},o=r.currentTarget,i=r.key,a=r.preventDefault,c=r.target;return t.strictTarget&&c!==o||" "!==i&&"Enter"!==i||(a&&n.preventDefault(),e&&e(n)),n}}},4416:function(e,t){"use strict";t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"aA#",n="",r="";t.indexOf("a")>-1&&(n+="abcdefghijklmnopqrstuvwxyz"),t.indexOf("A")>-1&&(n+="ABCDEFGHIJKLMNOPQRSTUVWXYZ"),t.indexOf("#")>-1&&(n+="0123456789"),t.indexOf("!")>-1&&(n+="~`!@#$%^&*()_+-={}[]:\";'<>?,./|\\");for(var o=e;o>0;o-=1)r+=n[Math.round(Math.random()*(n.length-1))];return r}},6912:function(e,t){"use strict";t.c=function(e,t,n){var r=n/100*e;return re.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:[];return function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=(0,o.c)(e,[null,void 0,!1,""]),u=(null===(t=l)||void 0===t?void 0:t.length)?function(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(l).concat([a]):[a],s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,r.coalesce)(n,e,c);if(null==t){var o=e.slice(1);return s(o)}return t};return s(u)}}},6924:function(e,t){"use strict";t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})[e]||t}}}},700:function(e,t,n){"use strict";var r=n(5088);t.c=function(e){return(!e||!e.nodeName)&&(0,r.c)("isElementVisible did not receive an element"),"hidden"!==window.getComputedStyle(e).visibility&&(e.offsetWidth&&e.offsetHeight||e.getClientRects().length)}},2576:function(e,t,n){"use strict";n.d(t,{Q:function(){return a},_:function(){return i}});var r=n(5088),o=function(e){return null===e?"null":Array.isArray(e)?"array":void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t;var t},i=function(e){var t,n=o(e);return(null===(t=e)||void 0===t?void 0:t.constructor)!==Object&&(0,r.c)("isObjectEmpty received an item of type ".concat(n)),0===Object.keys(e).length},a=function(e){var t=o(e);return e&&Array.isArray(e)||(0,r.c)("isArrayEmpty received an item of type ".concat(t)),0===e.length}},2932:function(e,t){"use strict";t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.max,n=void 0===t?1/0:t,r=e.min,o=void 0===r?0:r,i=e.value,a=void 0===i?0:i;return Number(a)<=Number(n)&&Number(a)>=Number(o)}},1792:function(e,t){"use strict";t.c=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e&&e+t<=6?e+t:6}}},7216:function(e,t,n){"use strict";var r=n(7392);t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"!=typeof window&&window.location&&window.location.search||"";return(0,r.parse)(e.replace("?",""))||{}}},939:function(e,t,n){"use strict";var r=n(6444),o=n(5416),i=function(e){var t=e.callback,n=e.element,r=e.elementIndex,i=e.method,a=e.selector;o.cp.insert(i)({selector:a,index:r},n),t&&t()},a=function(e){return(0,r.o)(e)?null!==document.getElementById((0,r.C)(e)):null!==document.querySelector(e)};t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isParentAvailable,n=void 0===t?a:t,r=e.renderIntoDom,o=void 0===r?i:r;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.callback,r=e.context,i=e.element,a=e.elementIndex,c=void 0===a?0:a,l=e.interval,u=void 0===l?500:l,s=e.maxAttempts,d=void 0===s?5:s,f=e.method,p=e.selector,g=void 0===p?"":p,m=0;if(g&&f)if(n(g))o({method:f,selector:g,elementIndex:c,element:i,callback:t});else var b=setInterval((function(){n(g)?(o({method:f,selector:g,elementIndex:c,element:i,callback:t}),clearInterval(b)):(m+=1)===d&&(clearInterval(b),n(g)||t(new Error("DOM Insert fail: Could not insert ".concat(r," on '").concat(g,"' after ").concat(d," attempts. Error happened on: ").concat(window.location.href))))}),u)}}},5387:function(e,t,n){"use strict";function r(e){return e.replace(/([-_\s][a-z])/gi,(function(e){return e.toUpperCase().replace(/(-|_|\s)/,"")}))}n.d(t,{c:function(){return r}})},5088:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"An error occured",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=window.__evo;if(!n||!n.reportError){if(t&&t.message){var r=i(o({},t),{message:"".concat(e,": ").concat(t.message)});throw new Error(r)}throw new Error(e)}n.reportError(e,t)};t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"An error occured",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=window.__evo;if(!n||!n.throwError){if(t&&t.message){var r=i(o({},t),{message:"".concat(e,": ").concat(t.message)});throw new Error(r)}throw new Error(e)}n.throwError(e,t)}},7620:function(e,t){"use strict";t.c=function(e,t){var n=t?/\.00$/:"";return Number(0===e?"0":e).toFixed(2).replace(n,"")}},6204:function(){},2520:function(e){"use strict";e.exports=JSON.parse('{"leapDomain":"tmobile.15gifts.com/leap/web/v2.100.0-a24aad6-tmobile","gatewayDomain":"tmobile.15gifts.com/evoapi","channel":"web","evoDomain":"tmobile.15gifts.com","evoProtocol":"https:","partnerDomains":{"live":["t-mobile.com","www.t-mobile.com"],"staging":["staging.t-mobile.com"]}}')}},function(e){e.O(0,[275],(function(){return 4772,e(e.s=4772)})),e.O()}]);